|
|
Folder Action script to change permissions
I was inspired by this hint to address a minor annoyance: files I upload to my website (using scp from the command line or SFTP via Fugu) are assigned the same permissions as the local file, usually 0600. I generally want them to be 0644 (readable by everyone), but sometimes I forget to set them manually. So rather than change my umask, I wrote this Folder Action script and attached it to my 'uploads' folder.
I saved it to
They seem to work pretty well. I'm pretty sure others have posted similar scripts before but what the heck, a few more can't hurt. :) (Can I just take this moment to say how much I despise the error reporting in AppleScript? Yecch. Thank you.)
Folder Action script to change permissions
Hello! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|