Fwd: ./SetPermissions.pl fails

Dear community, I have a sever problem with my otrs installation, due to a reconfiguration of a server I had to move my otrs home dir from /opt/otrs to /home/otrs/www/otrs. The apache config is correct, as I get an OTRS error message once I call it up. Error: Can't create /home/otrs/www/otrs/var/article/check_permissions_24358: Permission denied Try: $OTRS_HOME/bin/SetPermissions.pl !!! The problem is that executing /./SetPermissions.pl /home/otrs/www/otrs otrs www-data www-data www-data/ only sets the Owner to /OTRS /all the rest stays /NoGroup /whereby I want it to be /www-data/. Thank You very much for your assitance!!! -- * Julian

Have you tried with an explicit switch definition ? I mean with the
--something.... :
[root@HMCVR0004 bin]# ./SetPermissions.pl --help
bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
Usage: SetPermissions.pl
[--otrs-user=
Dear community,
I have a sever problem with my otrs installation, due to a reconfiguration of a server I had to move my otrs home dir from /opt/otrs to /home/otrs/www/otrs. The apache config is correct, as I get an OTRS error message once I call it up.
Error: Can't create /home/otrs/www/otrs/var/article/check_permissions_24358: Permission denied
Try: $OTRS_HOME/bin/SetPermissions.pl !!!
The problem is that executing *./SetPermissions.pl /home/otrs/www/otrs otrs www-data www-data www-data* only sets the Owner to *OTRS *all the rest stays *NoGroup *whereby I want it to be *www-data*.
Thank You very much for your assitance!!!
--
- Julian
--------------------------------------------------------------------- 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/

no will give it a try, is there a manpage for thos switches? thx!! * Julian On 14/12/2009 16:17, Marco Vannini wrote:
Have you tried with an explicit switch definition ? I mean with the --something.... :
[root@HMCVR0004 bin]# ./SetPermissions.pl --help bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions Copyright (C) 2001-2009 OTRS AG, http://otrs.org/ Usage: SetPermissions.pl [--otrs-user=
] [--web-user= ] [--otrs-group= ] [--web-group= ] [--admin-user= ] [--admin-group= ] [--admin-group-writable] [--secure] [--not-root] On Mon, Dec 14, 2009 at 4:09 PM, Julian Junge
mailto:julian.junge@futurlink.com> wrote: Dear community,
I have a sever problem with my otrs installation, due to a reconfiguration of a server I had to move my otrs home dir from /opt/otrs to /home/otrs/www/otrs. The apache config is correct, as I get an OTRS error message once I call it up.
Error: Can't create /home/otrs/www/otrs/var/article/check_permissions_24358: Permission denied
Try: $OTRS_HOME/bin/SetPermissions.pl !!!
The problem is that executing /./SetPermissions.pl /home/otrs/www/otrs otrs www-data www-data www-data/ only sets the Owner to /OTRS /all the rest stays /NoGroup /whereby I want it to be /www-data/.
Thank You very much for your assitance!!!
--
*
Julian
--------------------------------------------------------------------- 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/
-- * Julian Junge * Training & Support * julian.junge@futurlink.com mailto:julian.junge@futurlink.com FuturLink Distrito 22@ C/Almogàvers 107-119 08018 Barcelona, SPAIN T.+34 933008866 F.+34 934851318 Futurlink - Inspiring Mobile Media http://www.futurlink.com ---------------------------------------------------------------------------------------- The information in this e-mail and in any attachments is confidential and solely for the attention and use of the named addressee(s). You are hereby notified that any dissemination, distribution or copy of this communication is prohibited without the prior written consent of FUTURLINK. If you have received this communication in error, please, notify the sender by reply e-mail ---------------------------------------------------------------------------------------- Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene información de carácter confidencial exclusivamente dirigida a su destinatario o destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la previa autorización escrita de FUTURLINK. En el caso de haber recibido este correo electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante reenvío a la dirección electrónica del remitente.

Hi julian, Did you already try the chown command? Probably because it's in a user directely the group www-data can access /home/otrs. you give rights on a higher level. Try: chown otrs:www-data -R /home/otrs/ Hope it works! Best, Dave On 14 dec 2009, at 16:09, Julian Junge wrote:
Dear community,
I have a sever problem with my otrs installation, due to a reconfiguration of a server I had to move my otrs home dir from /opt/otrs to /home/otrs/www/otrs. The apache config is correct, as I get an OTRS error message once I call it up.
Error: Can't create /home/otrs/www/otrs/var/article/check_permissions_24358: Permission denied
Try: $OTRS_HOME/bin/SetPermissions.pl !!!
The problem is that executing ./SetPermissions.pl /home/otrs/www/otrs otrs www-data www-data www-data only sets the Owner to OTRS all the rest stays NoGroup whereby I want it to be www-data.
Thank You very much for your assitance!!!
-- Julian --------------------------------------------------------------------- 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/
participants (3)
-
Dave Lageweg
-
Julian Junge
-
Marco Vannini