this blog is girtby.net

Posted
29 December 2004 @ 4pm

Categories
Nerd Factor X

Tags
, ,

UNIX tip o’ the day

I never knew that the +X mode for chmod meant set the execute bit only if a directory or if the execute bit is already set on a file.

Up until now I had been using a wierd combo of chmod -R [whatever] followed by find . -type d | xargs chmod +x to reset permissions [...]