Kind of my extended memory with thoughts mostly on Linux and related technologies. You might also find some other stuff, a bit of SF, astronomy as well as old (quantum) chemistry posts.
Search This Blog
Tuesday, March 20, 2007
Find
Unix find command is powerful tool. Recently, I learn how to use it to fix wrong permission of a whole directory tree (hundres of files). If you will be in similar situation try to use:
find -nouser - looking for files (directories) not belongs to user.
find -type f -not -perm 644 - looking for files with permision other that 644
find -type d -not -perm 755 - looking for directories with permision other that 755
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment