Linux introduction: Difference between revisions

No edit summary
Line 96: Line 96:


* Prevent group members and all others to read or modify the file <tt>secret.txt</tt>: {{Command|chmod go-rwx secret.txt}}
* Prevent group members and all others to read or modify the file <tt>secret.txt</tt>: {{Command|chmod go-rwx secret.txt}}
* Allow everybody to read the file <tt>public.txt</tt>: {{Command|chmod a+r publique.txt}}
* Allow everybody to read the file <tt>public.txt</tt>: {{Command|chmod a+r public.txt}}
* Make the file <tt>script.sh</tt> executable: {{Command|chmod a+x script.sh}}
* Make the file <tt>script.sh</tt> executable: {{Command|chmod a+x script.sh}}
* Allow group members to read and write in the directory <tt>shared</tt>: {{Command|chmod g+rwx shared}}
* Allow group members to read and write in the directory <tt>shared</tt>: {{Command|chmod g+rwx shared}}
cc_staff
1,486

edits