Jun

12

Linux chmod 777 Recursively

June 12, 2008 |

There are times that you want to set permission for a folder of files. It’s very tedious to change every single file, so you must ask: is there a way to chmod a folder recursively, so that all files in a folder or directory can be set to writable by one command? Well, the answer is: Yes. There is a way and it’s very simple. There is a recursive chmod

chmod -R 777 /home/shi/Desktop/Host/lab/txp


The above code will set permission for all files under /home/shi/Desktop/Host/lab/txp directory, you can change it to anything you may like to point to.

Hope this helps!



Similar Posts

Comments

Name (required)

Email (required)

Website

Speak your mind

Sponsors




Links