Difference: FixingPermissions (1 vs. 2)

Revision 22010-08-04 - jujubix

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="NGSAlignerProject"
 We can share files under /ubc/cs/research/condon/people/ or /ubc/cs/research/condon/share/projects/. You must follow a couple of steps to ensure the group has proper read/write and execute access.

Suppose you want to share the directory foo.

Revision 12010-08-04 - ChrisThachuk

Line: 1 to 1
Added:
>
>
We can share files under /ubc/cs/research/condon/people/ or /ubc/cs/research/condon/share/projects/. You must follow a couple of steps to ensure the group has proper read/write and execute access.

Suppose you want to share the directory foo.

# recursively change group
find foo -name "*" -exec chgrp ac-group {} \;

# recursively change permission of files
find foo -type f -exec chmod g+rw {} \;

# recursively change permission of directories
find foo -type d -exec chmod 770 {} \;

NOTE: You must also make sure that the group has read and execute privileges for all parent directories containing foo.

-- Main.cthachuk - 04 Aug 2010

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback