Skip to content

Instantly share code, notes, and snippets.

@handakumbura
Created August 29, 2017 05:12
Show Gist options
  • Save handakumbura/1f2b6d165a16cf8cb83fe0033021ae7a to your computer and use it in GitHub Desktop.
Save handakumbura/1f2b6d165a16cf8cb83fe0033021ae7a to your computer and use it in GitHub Desktop.
kt_articletwo_2
groupadd filesharegroup
useradd -g filesharegroup pyuser1
useradd -g filesharegroup pyuser2
useradd pyuser3
echo “original file” > sharedfile
chown pyuser1:filesharegroup sharedfile
chmod 660 sharedfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment