Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

make directory to be owned by group ubuntu

sudo chgrp -R groupName directory
//Set permissions on folder:
sudo chmod -R 775 directory
//Make all folders subsequently created inside directory
//to be owned by group staff:
sudo setfacl -dR -m g:groupName:rwx directory
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #directory #owned #group #ubuntu
ADD COMMENT
Topic
Name
6+8 =