How to transfer files between mac users folder

2

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.

Pavel Binar

Posted 2012-12-02T04:40:21.943

Reputation: 285

Why not accept answer? Jonnie's solution worked ? – tgkprog – 2014-11-14T18:43:26.497

Answers

2

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"

Robert Janssen

Posted 2012-12-02T04:40:21.943

Reputation: 36

This works but is more disruptive and breaks the whole point of profile privacy. Fine for a parent. Not the best in other shared scenarios. And caveat is you need to be admin – tgkprog – 2014-11-14T18:45:18.877

2

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.

Johnnie

Posted 2012-12-02T04:40:21.943

Reputation: 262

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 Binar – 2012-12-02T06:43:51.900

What about symlink? Would work? – Pavel Binar – 2013-04-27T21:15:31.860

2

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.

Gordon Davisson

Posted 2012-12-02T04:40:21.943

Reputation: 28 538

Can break the privacy by makoing a new group, giving that group user rights, adding all users to that group. chmod and chown look up these commands with -R recursive – tgkprog – 2014-11-14T18:47:07.837

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 Binar – 2012-12-02T06:46:53.213