Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like be able to copy files from one user profile to another. For example download photos to : /Users/user1/Desktop and then move than into /Users/user2/Pictures. Default Mac OS X setting do not allows that, unless you are logged in as root. I do not want use root account, just be able to write into another user folder.

share|improve this question
add comment

3 Answers

Actually the easiest way to handle what you want is to give yourself sudo privileges. I believe on Mac OS X your user (i.e., user1) would just need to be part of the admin group.

Once user1 is part of the admin group, then you can run any command from the terminal in the following way and it will use root privileges:

sudo mv /home/user1/files /home/user2/pictures

the very first time you ever do this, the system will give you a warning about 'with great power comes great responsibility...' and it will prompt you for a password. If you are running this command as user1, the password it wants is user1's password - not root's password nor user2's password.

Note that, by configuration, the system may cache the password for a set amount of time or until you end the terminal session. when it expires and you run sudo as user1 it will prompt you again for user1's password.

sudo only works for the specific command you give it.

share|improve this answer
    
Booth approaches are tight with specific folder. I want to have access to all of them. BTW: can you be more specific how to create manage user groups under Mac OS X 10.8? Thanks! –  Pavel Dec 2 '12 at 6:43
    
What about symlink? Would work? –  Pavel Apr 27 '13 at 21:15
add comment

If your two users are going to be sharing files a lot, the setups @John suggested are good; but if this is not something you'll be doing a lot, there are several ways to do it using OS X's standard folder & permission setup:

  • User1 could place the photos in /Users/user1/Public, and User2 (or anyone else on the computer) can copy them from there.
  • User1 could place the photos in /Users/Shared, with similar results.
  • User1 could place the photos into /Users/user2/Public/Drop Box, and then only User2 can get at them.
share|improve this answer
    
Yes, I am looking for more frequent usage therefore this approach is too complicated. It seems, that @John's approach is available just for specific folders - I would like to have access to entire user folder structure. –  Pavel Dec 2 '12 at 6:46
add comment

I managed to figure out a way to do this on a directory by directory basis, permanently. I was trying to access a PowerPoint Presentation my son was writing for school without having to login as him so I could review it.

Follow these steps to access the Library folder through Finder's Go menu. In the Finder, choose Go > Go To Folder. In the Go To Folder dialog, type /Users/[Username]. Click Go. Right Click on the Documents (or Pictures, etc.) directory Choose "Get Info" Click the Triangle Next to Sharing & Permissions Click the lock Click the + sign Add admin Change the permissions from read to "read/write"

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.