|
|
Make a folder read-write for all users without using ACLs
I went one step further, since I was having problems with ownership that was preventing this from working properly. I'd tried the chmod -R and chown -R in crontab, but found that my time machine backups were massive every night. Because this is only touching the files that have the wrong permission/ownership, it's much better.
Note, the brackets that set the precedence of the or operator, otherwise it doesn't work. This together with a similar plist file to the one above for permissions goes in the LaunchDaemons directory as we need it to be always run by root. I decided to use consecutive prime numbers for the interval to ensure they're not always running at the same time. In actual fact, I have 6 of these launch daemons running, 2 for shared Music, 2 for shared Pictures and 2 for shared Documents.
Make a folder read-write for all users without using ACLs
Still would like more detail about the Launch Agent solution works, and the improvements of the second solution. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments 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.07 seconds |
|