×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Paul Allies Allies
Added: Jul 5, 2012 10:38 PM
Modified: Jul 6, 2012 8:29 AM
Views: 15
Tags: no tags
http://www.youtube.com/watch?v=zRw0SKaXSfI&feature=fvwrel
  1. //Order of Permission <owner> <group> <others>
  2. //4 - Read
  3. //2 - Write
  4. //1 - Execute
  5.  
  6. //change permission for folder
  7. //change to owner (rwx), group (rx), others(rx)
  8. $ sudo chmod 755 <folder>
  9.  
  10. //change permission for folder and subfolders
  11. $ sudo chmod 755 <folder> -R