gentoo – otrs – emerge error – ‘chown $S not allowed’


SetPermissions.pl --otrs-user=otrs --web-user=apache --otrs-group=apache --web-group=apache "${S}" dies with "Could not set permissions"

Caused by running emerge as user portage. This user has sometimes insufficient file rights. This is the default behaviour since 2013SEP, when the portage FEATURE userpriv was enabled per default. See man make.conf.

Disable this FEATURE using the awesome /etc/portage/package.env file.
Edit this file, adding the following line:
> www-apps/otrs otrs.conf
Then create a folder /etc/portage/env and a file /etc/portage/env/otrs.conf containing the follwing:
> FEATURES="-userpriv"

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.