How can you run the following pseudo-command?

sudo chown :twin::rwx /usr/local/copyrightLinux

I want that each user in the group twin can read, write and execute all files which belong to the group twin. The apparent problem is with permissions.

sudo chown :twin /usr/local/copyrightLinux

sudo chmod g=rwx /usr/local/copyrightLinux
  • 2
    Note, could also use "sudo chgrp twin /usr/local/copyrightLinux" for the first command. Seems like it might be a bit easier to understand rather than wondering why there's a floating colon in the middle of chown. – Adrian Petrescu Dec 22 '09 at 3:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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