by
956 21
2
5
2,736
7
Top 1% !
Popular
Famous
Specified
OpenSource
Popularity: 4840th place
Created
Modified Jul 23, 2014

Published on:

No tags for this snippet yet.
LanguageText
LicenseMIT_X11
OSLinux

Change Directory and File Permissions Properly For Linux Web Server

Sets file permissions to 644 and directory permissions to 755.
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/96105/Change-Directory-and-File-Permissions-Pr?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
find [YOURDIR] -type d -exec chmod 755 {} \; find [YOURDIR] -type f -exec chmod 644 {} \;
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus