Script does not work if executed in symlinked dir? Thats seems odd to me. But if that's the case, then this issue is also solved.
I had the same issue on last update to 3.0.9, but I can not recall if I had the same setup (with symlink) at that time.
Search found 3 matches
- 27 Sep 2011, 17:46
- Forum: Help
- Topic: Update / File & dir permissions
- Replies: 3
- Views: 2560
- 24 Sep 2011, 14:42
- Forum: Help
- Topic: Help Cron: syntax error near unexpected token `do'
- Replies: 2
- Views: 3061
Re: Help Cron: syntax error near unexpected token `do'
You're trying to access a whole loop with sudo. Sudo is for swithcing to 'root' to execute something and you can not do it like that. Move 'sudo' right before actual command instead of your loop.
Code: Select all
for foo in *.dist ; do sudo cp $foo `basename $foo .dist`; done- 24 Sep 2011, 14:27
- Forum: Help
- Topic: Update / File & dir permissions
- Replies: 3
- Views: 2560
Update / File & dir permissions
I've upgraded OTRS a couple of times and there's something I do wrong or don't get properly. It seems like bin/otrs.SetPermissions.pl does not do its job and I need to change css + js cache dirs permissions by hand. $ chmod g+w /opt/otrs/var/httpd/htdocs/js/js-cache/ $ chmod g+w /opt/otrs/var/httpd/...