|
|
10.5: Share any files between users on the same Mac
I haven't tested this, but I think you can just:
10.5: Share any files between users on the same Mac
sharing is different that write prefs
10.5: Share any files between users on the same Mac
That won't accomplish what this hint does. With this hint, any files created in the Friday folder can be read, written, and executed by everyone. So if your user adds a photo to iPhoto, your wife's user can edit it.
10.5: Share any files between users on the same Mac
err... I'm trying to imagine a case where you'd want to give other users permission to execute arbitrary code in your user space. at best, it adds no value that can't be accomplished by putting scripts in /Library for general access; at worst it's a huge security hole.
execution aside, file sharing can set read and write privileges - so yes, in fact, your wife could open, edit, and save your iPhoto entires from her account (assuming you're married; if you're not, and she does, that would be confusing). you may need to move your iPhoto folders into the shared folder, or easier, you could use the sharing panel to make your iPhoto folder shared in and of itself (which I think automatically propagates to its subfolders). what advantage does the command-line approach offer over the file sharing panel, aside from that highly questionable execution issue?
10.5: Share any files between users on the same Mac
Execution matters because opening a folder is in fact "executing" it. Intuitively one might think that opening a folder involved "reading" it, but in this case intuition in incorrect.
10.5: Share any files between users on the same Mac
in fact, no.
I just tested this on my system: I enabled file sharing, added the pictures folder from a different account to the shared folders column, gave everyone read and write permission, enabled my main account and the other account in the 'options' section, and then voila! I went and opened a picture from the pictures folder on the other account, and saved it back to the other account under a different file name. the little 'no access' badge that's normally on the another user account's pictures folder disappears as soon as I enable sharing for that folder (though it still appears in the system preferences panel until you quit and restart that app). have you tried it? in this case my 'intuition' seems to be backed up by practical evidence. I understand what you're saying, and it makes a certain degree of sense within the twisted universe of pure unix, but don't underestimate Apple's ability to make functional GUI methods.
10.5: Share any files between users on the same Mac
I did try it, apparently more thoroughly than you did.
10.5: Share any files between users on the same Mac
Addendum:
10.5: Share any files between users on the same Mac
Also, this hint doesn't give other users "permission to execute arbitrary code in your user space." Any code they might execute is run as themselves, not as you.
Perhaps you have this confused with the setuid and setgid bits, which do allow a user to run code as if they were someone else.
10.5: Share any files between users on the same Mac
what I meant was they can place any script they like in your user directory and execute it. what happens if someone wrote a script like
from a script located in your pictures folder. it probably wouldn't work, but if it did it would delete your home directory. again, what advantage do you get out of granting execute privileges that makes opening the door to this kind of thing acceptable?
10.5: Share any files between users on the same Mac
This hint describes using the ACLs to set permissions on a folder inside /Users/Shared, not a user's home folder (/Users/username). A bash script such as the one you mention would only affect the Shared folder, not anyone's home folder.
10.5: Share any files between users on the same Mac
"err... I'm trying to imagine a case where you'd want to give other users permission to execute arbitrary code in your user space."
10.5: Share any files between users on the same Mac
I can see you've never been through a nasty break-up. :) and (knock wood) you never will. my philosophy is 'don't fix what aint broke' but also 'don't make something that breaks just cuz you can't imagine having to fix it'.
10.5: Share any files between users on the same Mac
Now you are just being silly. If you had a nasty breakup, why are you giving this girl access to your machine? Delete her account, and then she won't be able to log in at all.
10.5: Share any files between users on the same Mac
dude, you rarely know in advance that you're going to have a nasty breakup.
10.5: Share any files between users on the same Mac
I did the trick using PrefPane and it works...
10.5: Share any files between users on the same Mac
I also posted this in reply to tedw, but its buried in there and I thought you might not see it, ragmaxone. I'd hate for you to accidentally mess up your iPhoto or iTunes library, so I'm reposting it here too. :) |
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.08 seconds |
|