|
|
Avoid drop box file permission issues
Well running a
sudo chown -R yourusername ~/Public/Drop Box/
would change all the files in your Drop Box to the proper ownership.
I don't know much about applescript, but could you make a script that runs that command every time something is put into that folder? I don't know if you can do that because changing the ownership requires a sudo and you would have to type in your password.
Avoid drop box file permission issues
thanks for this hint! i love using drop boxes but hadn't found a workaround for this issue.
i use hazel instead of folder actions, and hazel does allow you to use shell scripts. i'm not sure how you would handle this from a non-admin account, though.
Avoid drop box file permission issues
Authentication using AppleScript
Just an addendum. In AppleScript you can bring up the authentication dialog with the phrase:
Avoid drop box file permission issues
Although quite kludgy, if you wanted to avoid the superuser authentication issue while executing an applescript, you could write a folder action to attach to your dropbox that duplicates the file, thereby changing ownership to you (as you're doing manually now), then overwrites the original file with the copy. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks 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.15 seconds |
|