Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A Folder Action Script to auto-set the Execute bit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A Folder Action Script to auto-set the Execute bit
Authored by: craigw on May 03, '07 06:16:56PM

I like this tip! I'm going to set it up for ~/bin.
Also, both Smultron & Textmate have menu items to make the current document executable.

Correct me if I'm wrong, but I don't think this is right:
do shell script "chmod -R +rX " & fileName
The point of the hint being, to make files executable that aren't already.

Also, I would do it more like this:
chmod -R u+x
I don't want a whole folder of files that are executable by anybody & everybody.



[ Reply to This | # ]