Help - Search - Members - Calendar
Full Version: Howto Change Permissions On Directories Only
Linuxhelp > Support > Tips and Tricks
A friend of mine figure out how to change the permissions on only directories.

It was usefull for what I needed, so in case anyone else needs to do this:

chmod 655 `ls -AFR | grep : | tr -s ':n' 'n'`

I don't know if this is the most efficient way of doing it but it works.
What did you mean by Changing permissions to the Directory?

did you mean when you type this current command it will change the attributes of all the directories and when any built-in user in the system type ls in any directory the permission denied message will appears.
Waiting for Response
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.