[CentOS] chmod for directories only
nate
centos at linuxpowered.netMon Dec 1 17:56:00 UTC 2008
- Previous message: [CentOS] chmod for directories only
- Next message: [CentOS] chmod for directories only
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Robert Moskowitz wrote: > I want to change the permissions on directories, recursively to: > > drwxr-xr-x > > but keep the files within the directory tree as: > > -rw-r--r-- > > But I can't find an option for chmod to only affect directories. I > suppose it won't hurt (in this case) to set the x for the files, but I > want some consistancy. find <path> -type d -exec chmod 755 {} \; nate
- Previous message: [CentOS] chmod for directories only
- Next message: [CentOS] chmod for directories only
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list