2/09/2012
Restore file permissions
I didn't test it but it must work for owners and owner groups too. Something like:
2/07/2012
Find a directory by name in linux
-type d == directory
-name '.svn' == all directories named .svn
-ls == converts unusual characters to C style escape sequences
To delete the list of directories returned by the above command execute xargs builds and executes command lines from standard input
/bin/rm -dr == remove command with the directory and recursive flags
-name '.svn' == all directories named .svn
-ls == converts unusual characters to C style escape sequences
To delete the list of directories returned by the above command execute xargs builds and executes command lines from standard input
/bin/rm -dr == remove command with the directory and recursive flags
Labels:
linux
2/01/2012
Group Sticky bit
To ensure that the group owner of existing and new files stays the same set the group sticky bit like so:
Labels:
linux
Subscribe to:
Posts (Atom)