Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.