Jun 1, 2012

How to change permission to a folder and all of its subfolders in Linux Ubuntu Terminal


 



CHMOD uses several options and the -R option changes permission to folder and its subfolders.


 


chmod <permissionsettings> <dirname>


 


To change permission we normally use chmod command and it change permission to the current file or directory only.


 


chmod 1




To change permission to a folder and all of its subfolders use -R option.


 


chmod -R <permissionsettings> <dirname>


 



chmod 2




 

No comments:

Post a Comment