Difference between revisions of "Set Rights for Files and Folders recursive"

From wiki.linuxonlinehelp.eu
Jump to navigation Jump to search
(Created page with "for directorys.. <pre> find /path/to/base/dir -type d -exec chmod 755 {} \; </pre> for files.. <pre> find /path/to/base/dir -type f -exec chmod 644 {} \; </pre>")
 
(No difference)

Latest revision as of 20:05, 24 October 2011

for directorys..

find /path/to/base/dir -type d -exec chmod 755 {} \;

for files..

find /path/to/base/dir -type f -exec chmod 644 {} \;