Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to make a the /opt/apps folder accessible to all users of the 'www' group. The main user of the group would be the 'jboss' user, so I runned:

sudo chown -R jboss:www /opt/apps

Both the 'jboss' and the 'ubuntu' user are in the 'www' group, but only the 'jboss' user can write in the /opt/apps folder.

How can I make the /opt/apps folder writable to all users in the 'www' group?

share|improve this question
What permissions are set on /opt/apps folder? 644? 777? etc... – xeon Mar 15 '12 at 18:09
up vote 1 down vote accepted

Check the permissions of that folder as well as the group and owner.

ls -l

will show them.

If the group does not have write permissions then just

chmod g+w /opt/apps

and you might need to do that recursively with the -r flag to chmod

share|improve this answer

If I understand the question correctly, you want the "www" group to have 'read', 'write' and 'execute' privileges on the "/opt/apps" folder (directory) and subdirectories.

In that case, use the chmod command like this:

sudo chmod -R g+rwx /opt/apps

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.