Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
limiting-access-to-your-home-directory [2017/11/17 12:06] – bryceml | limiting-access-to-your-home-directory [2017/11/17 12:22] (current) – bryceml | ||
---|---|---|---|
Line 9: | Line 9: | ||
* 755 for new folders created within the public_html directory | * 755 for new folders created within the public_html directory | ||
* 644 as the default for files created within the public_html directory | * 644 as the default for files created within the public_html directory | ||
- | |||
If you would like to adopt the new behavior, please run the following commands. | If you would like to adopt the new behavior, please run the following commands. | ||
Line 16: | Line 15: | ||
cd " | cd " | ||
- | find . -not -type l -not -path " | + | find . -not -type l -not -path " |
- | find . -not -type l -not -path " | + | |
find . -type d -not -path " | find . -type d -not -path " | ||
chmod o+x . | chmod o+x . | ||
chmod g+x . | chmod g+x . | ||
+ | |||
</ | </ | ||
Please note that if you are using your home directory to share things with other users, this will break that functionality. | Please note that if you are using your home directory to share things with other users, this will break that functionality. |