otrs file permissions problem

Hello all, I installed OTRS from source on a light Debian and ran the SetPermissions.sh like this: /opt/otrs/bin/SetPermissions.sh /opt/otrs otrs www-data www-data www-data However, when I first log on to OTRS I have this error message: Error: Can't write /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm: Permission denied! I know I can solve this manually by giving the right permissions to the Kernel/Config/Files folder which is currently owned by the userID 500 and the group 'Users', but I have some other questions: First, Is there any risk if I type this command, to make the user otrs (and group www-data) own all the stuffs under /opt/otrs/ and to be sure there will never be a permission problem in the future: # chown -R otrs.www-data /opt/otrs Then, I think the fact that the files under /opt/otrs/ are owned by userID 500 and group 'users' is due to the OTRS source files having been developed and packaged under another distribution which have these userID and group name. But in Debian, there is no userID 500, and the group 'users'has no member, so maybe this is the source of the permission problem! Am I correct? In that case my first question would make sense. _________________________________________________________________ Share your memories online with anyone you want. http://www.microsoft.com/middleeast/windows/windowslive/products/photos-shar...

/opt/otrs/bin/SetPermissions.sh /opt/otrs otrs www-data www-data www-data
Also if you specify /opt/otrs/ (with slash at the end) you will get the actual directory instead of the symlink -- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food"

Thank you for the tip Alan Mohamed Amine Kadimi http://www.casafire.com ----------------------------------------
Date: Wed, 29 Jul 2009 09:44:50 -0400 From: alan.mckay@gmail.com To: otrs@otrs.org Subject: Re: [otrs] otrs file permissions problem
/opt/otrs/bin/SetPermissions.sh /opt/otrs otrs www-data www-data www-data
Also if you specify /opt/otrs/ (with slash at the end) you will get the actual directory instead of the symlink
-- “Don't eat anything you've ever seen advertised on TV” - Michael Pollan, author of "In Defense of Food" --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
_________________________________________________________________ With Windows Live, you can organize, edit, and share your photos. http://www.microsoft.com/middleeast/windows/windowslive/products/photo-galle...
participants (2)
-
Alan McKay
-
Mohamed-Amine Kadimi