
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. Mohamed Amine Kadimi http://www.casafire.com _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx

I found my error... Actually /opt/otrs is a symlink to /opt/otrs-2.x.X and I had to execute SetPermissions.sh against the actual directory not the symlink Mohamed Amine Kadimi http://www.casafire.com ----------------------------------------
From: gnu.linux@hotmail.com To: dev@otrs.org Date: Tue, 28 Jul 2009 13:25:35 +0000 Subject: [dev] OTRS File Permission 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.
Mohamed Amine Kadimi http://www.casafire.com
_________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx --------------------------------------------------------------------- OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
_________________________________________________________________ Share your memories online with anyone you want. http://www.microsoft.com/middleeast/windows/windowslive/products/photos-shar...
participants (1)
-
Mohamed-Amine Kadimi