User Tools

Site Tools


os:unix:notes

OS - UNIX - Notes

Commands

find

Set different permissions on files and directories

Remove executable for all and rwx for other from files:

find /var/www/directory/ -type f | xargs chmod -x,o-rwx

Remove rwx for other/world from directories:

find /var/www/directory/ -type d | xargs chmod o-rwx
os/unix/notes.txt · Last modified: 2025/05/09 17:27 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki