[SOLVED]Sharing files between user accounts.

I want two user accounts to have full access to a common set of files. I have created a group for that purpose but even with umask settings I always seem to end up with a situation where one user does not have full permissions to one of the "shared" files (e.g. because an application uses it's own internal umask).
Essentially, I want both accounts to act as a single account for certain files, and I have considered sharing the UID, but that creates problems with user names and also exposes all files owned by either user to the other. I have also considered solutions using bindfs, but managing the mount points might become complicated, so I'm hoping that there's a simpler solution.
So, my question is what is the best way to ensure that two users always have full access to a set of files in a given location, which still enabling both users to have private files elsewhere?
Last edited by Xyne (2012-03-05 00:16:55)

Thanks, falconindy.
The setgid bit does most of what I need. The rest can be done with access control lists, which I discovered as I was reading up on setgid:
http://brunogirin.blogspot.com/2010/03/ … etgid.html

Similar Messages

  • Sharing files between user accounts without permissions issues

    I have two user accounts on my iMac and need to make files available to both accounts, back and forth, without having to worry about permissions issues. Files need to be read and edited from both accounts.  I posted previously about this and was told to place the files in Users/Shared.  I've done this but it hasn't accomplished what I need.
    I created a document in one account and saved it to Users/Shared, but when I opened the document from the other account and tried to edit it, I was told that I didn't have permission to edit and that I needed to duplicate the file.  How can I avoid having to set permissions for files that I need to edit from both user accounts?

    Or not.
    I butt up against this lunacy frquently.
    I have just created a file saved to my external NAS - no problem - tried to save my edits - now don't have permission to do so.  Again - checked - custom access - again.  Ridiculous.
    Why can Apple not sort out this fundamental problem - if I create a file and put it on my network where I WANT IT - the OS should not then prevent me from accessing it.
    I spend hours, regularly, trying to sort this out.  Apple OS is a joke.
    And to be kept being told - do this, do that, use terminal, reset passwords is ridiculous.
    Sorry for the rant.
    But this is the limit.
    Mike

  • Sharing files between user accounts

    I have just set up a new user account on my MBP and I can't really work out how to provide the new user access to the files and folders inside my home folder.
    I'm particularly interested in photos and music for use in iLife apps. I have started to play with file permissions but so far I've failed. Can anyone help?

    That method works but it has a few caveats:
    -The user account that "owns" the iTunes and iPhoto libraries must be logged in with those apps running for other local users to access them; and
    -The libraries will be read-only for all but the account that owns them. That means no other users can add items or edit anything.
    If the above solution works for you then by all means go for it. It's far too restrictive for my needs. If, like me, you want both user accounts to have equal access, with ability to edit, you need to follow the hint I linked in my above post.

  • Sharing files between users and macs

    My husband and I share an iMac. I have a MBA for traveling and my husband a PC laptop (though he rarely uses for private stuff). We both have iPhones.
    We are looking for a way to:
    - Share our photos (we don't use iPhoto) and some files. We would like to have this in one shared folder, that we can access from both accounts in the iMac, the MBA and ideally (though not a must) the PC and iPhones. We would both need to have admin rights to edit documents, etc.
    - Have access to all the information in my account on the iMac from the MBA. Ideally, same thing for his and the PC.
    - Have access to all the data remotely when traveling.
    - Have all the data backed up locally (we already have a cloud backup, but we'd like to have a local backup too as it's easier and quicker to access)
    We have read a lot about configuration, NAS, time capsule... but we get more and more confused, as we are obviously no tech experts.
    Dropbox is not our preferred choice. We already have a cloud backup system. We'd rather have the files stored and accessed locally for everyday use.
    Using a NAS to store shared folders and backup the rest sounds good, but they either seem very complicated to set up, or they have mixed reviews in terms of stability, especially to access files remotely.
    Timecapsule seems easier and more straightforward, but I'm not sure it would solve the "sharing files between users and macs with admin rights"? It seems to be more focused on backing up the main drive and then providing access to the backed up files. (Though I might be completely mistaken!)
    We just can't manage to have one shared folder between both accounts in the iMac. We need to grant admin rights document by document. We don't manage to make it work automatically so we both have one folder to access with full rights for all the contents inside it. And this seems to me like something that should easily be done...?
    Any help, advice, proposals... would be greatly appreciated!!!

    Move any file you want to the other user to access to the Shared Folder. Anything you put in that folder is available to all users.
    The shared folder is here:
    Macintosh HD > Users > Shared

  • Basic File Sharing question between user accounts on my iMac

    I don't understand how to be able to share and download to one common folder among User Accounts on my iMac. I am trying to use a Clean Account as a test, and wanted to copy a file I downloaded from the web in one account into this clean account folder, and install the file.
    I went to Sharing and thought I turn File Sharing on. Logged into the Clean account and Apple+I the folder, changing access priviledges to the folder. Then copy the file into the Clean User Account.
    But it doesn't work that way. Can anyone help me understand sharing between accounts?

    File Sharing is for sharing files between two different machines, not between different accounts on the same machine. If you want to share files on one machine, you just need to put them in a folder everyone has access to, like the /Users/shared folder. Also, don't go fooling around with folder permissions... that's a good way to mess things up. If I had a nickel for every time someone messed up their system using the "Apply to enclosed items" option when changing permissions, I'd be a rich man!

  • Sharing libraries between user accounts question

    After many years of having one user account on our iMac, I have decided to segregate user accounts for me and my wife. I'm doing this because I have an iPhone and she is going to get one soon. When we sync our respective iPhones, we want to keep iCal and and Address book information unique to each user account. What I'm trying to figure out is how to share iPhoto and iTunes content between user accounts. I know there is a share preference that will allow the master libraries in these applications to be shared, but the photo albums and playlists created on the original user account are not "shared". Would it be possible to have playlists from iTunes and albums/events from iPhoto to be shared between user accounts? This would enable my wife to sync all her iPhone data from her user account. Thanks in advance.

    I have an idea that uses a different approach. I haven't done this for this purpose, so if you decide to try, please do it one step at a time so you can undo it. I'll explain it for iTunes.
    Instead of using the Sharing preference in iTunes, put the iTunes Music folder in a location that can be accessed from both accounts. You might use an external drive, or the <hard drive>/Users/Shared folder.
    iTunes should NOT be running. Go to /Users/<username>/Music/iTunes folder. In that folder is the iTunes Music folder. Copy this folder to a location on the external drive or to the Shared user folder. Rename the original iTunes Music folder another name, such as iTunes Music Old. Make an alias of the new iTunes Music folder (in the shared location) and put it in the user's iTunes folder (where iTunes Music Old now resides). Rename it "iTunes Music" if necessary (you are making the alias take the place of the actual iTunes Music folder). * It is very important that the name be exact.
    Start iTunes. All of your music and other media should be accessible as if the iTunes Music folder is where it used to be. To prove to yourself that the files are being accessed from the new shared location, do a Get Info on a couple of songs in iTunes. "Where" should show the file to be in the new location. To prove to yourself that you can add new content to the new location, download a free song from the iTunes Store (or a Podcast) or rip a CD. Then do a Get Info on the new item.
    Up to here, I'm confident it will work, because I have done it. The rest is "theory"...
    Copy the old user's /Users/<username>/Music/iTunes folder (except the now duplicated iTunes Music Old folder) to the shared location. You are only doing this step so that it will be available when you log in as the new user (your wife's account), which is the next step.
    Log out and log in to the new account.
    Copy everything in the old user's iTunes folder (that you just put in the shared location) to the new user user's /Users/<username>/Music/iTunes folder. Replace any duplicated items. You want the new user's iTunes folder to look exactly like the old user's iTunes folder (except for iTunes Music Old). Hopefully, that iTunes Music alias will connect to the actual iTunes Music folder at the shared location. Try it. Run iTunes as the new user. Hopefully, everything looks like the old user's iTunes. Do the tests like before to prove it.
    At this point, the two iTunes "looks" will start to diverge. But at least the starting point will be the same.
    If something does not work as expected, log in to the old user's account. With iTunes NOT running, go to /Users/<username>/Music/iTunes folder. Delete the iTunes Music alias. Rename the iTunes Music Old folder back to iTunes Music. Everything should be back to the way it was.
    If it works to your satisfaction, you can eventually delete that iTunes Music Old folder.
    I don't use iPhoto, but if iTunes works, you can do the equivalent steps for iPhoto.

  • Sharing Music Between Users Accounts on a Single Computer

    I know that you can listen to music belonging to another user account on the same computer (as long as that user remains logged in), however, is there a way to COPY (drag and drop) music from one user account to another user account (on the same computer) similar to how it is done between multiple computers with Home Sharing?

    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - relocating iTunes' media folder to a shared area but leaving separate library files - extra tip at https://discussions.apple.com/message/17331189

  • Sharing iTunes between user accounts no longer works in iTunes 10.4

    I recently upgraded to iTunes 10.4 (80). Still running Snow Leopard 10.6.8.
    I have two user accounts on my MacBook Pro and my iTunes Media folder is shared i.e. /Users/Shared/ITunes/iTunes Media
    This has always worked with no problems but since upgrading to iTunes 10.4 I can no longer see my iTunes content from both accounts.
    First time I opened it after the upgrade it just presented me with an empty library. I eventually managed to see my iTunes content by deleting the iTunes library and xml files and relaunching iTunes. However when I quit and switch to the other user account I can't open iTunes - it keeps telling me that the library is locked or I don't have access to the files.
    I have to keep manually resetting permissions on the iTunes folder & subfolders in order to be able to launch it but even when I manage to open it from the second user account I just see an empty library again.
    I always used to be able to just quit iTunes in one user account and then launch it from the other; no permissions changes required. Now it just doesn't work.
    Please can someone offer advice or is this a known issue with the 10.4 release?
    Many thanks in advance.

    I've been trying to do this same thing. My wife and I share one computer and she has her own login account to check email etc. I moved all the music, movies, videos to the shared folder. We can now "share" that music without having two iTunes media libraries. However, I want to remedy the situation of adding music from different accounts, adding and deleting playlists. How do I have that type of library data automatically get updated from account to account? I've asked this question in it's own thread about a week ago and it got buried with no responses or solutions.

  • Sharing Music between User Accounts

    Hello,
    I've been trying to share a single itunes music folder between two accounts on the same computer. I've read dozens of threads on this topic in these forums, and still can't seem to get this to work.
    Right now, I'm going back to basics and simply trying to put the iTunes music folder in a Public folder, which can be accessible by both user accounts. I've followed the instructions documented in the following article:
    http://docs.info.apple.com/article.html?artnum=93195
    When I do this, I have a problem with permissions. If I move or copy the music folder on one user account to a public folder - when I switch over to the other user account, and access that public folder, some of the individual music folders within the itunes music folder are accessible, and then on others, I am denied permission. There does not seem to be anything unique about the folders that I don't have permissions on, compared to those that I do.
    Any thoughts? Thanks.
    ML
    iMac G5, Mac Mini Intel   Mac OS X (10.4.8)  

    Hi,
    Thanks for the reply.
    I did a copy paste of the iTunes Music folder into a new iTunes Music folder under Users/Shared. When I switch over to the other user account, I get the same results. Some folders are accessible and some folders I have no access. It's strange as about 25% of the music folders are No Access, and the others are readable.
    Any further thoughts? Thanks,
    ML

  • Share iTunes files between user accounts

    I am trying to share the iTunes music library between Admin. and user account on my Macbook Pro Mountain Lion OS.  The user account can not find the iTunes folder, even after the Admin. gave user account access to the iTunes music folder.
    Please help.

    Sorry, I think that this official Apple Post ought to do it.
    iTunes: How to share music between different user accounts on a single computer
    http://support.apple.com/kb/HT1203
    Chris CA is an expert, so if you don't understand Chris's expert advice and/or you don't understand the official post here, then simply take a break, relax, and come back and try again.
    Best Regards,
    ~mm

  • Sharing Itunes between user accounts

    Hi all,
    I just came back to the mac and set up user accounts for myself and my wife. She tends to do most of the photo editing and I do most of the music stuff on itunes. I heard that I can set it up so that she is actually using my itunes or library even though she is on her login in. And we could do the same with the iphoto in reverse so that if I download photos it goes into the iphoto on her login. We would like to avoid having some music and pictures separated by the different logins. So my question is, is this the best way to set things up in our situation and how do I actually do it? Are there any hiccups when I sync with my iphone and she syncs with her itouch? Thanks for you help.

    I've been trying to do this same thing. My wife and I share one computer and she has her own login account to check email etc. I moved all the music, movies, videos to the shared folder. We can now "share" that music without having two iTunes media libraries. However, I want to remedy the situation of adding music from different accounts, adding and deleting playlists. How do I have that type of library data automatically get updated from account to account? I've asked this question in it's own thread about a week ago and it got buried with no responses or solutions.

  • How to share files between user accounts

    I have used the shared folder but I must duplicate the file every time - how can I get it to use 1 file on both users and saving it to the shared folder?

    When you say "Shared folder", do you mean /Users/Shared, or the public folder of your user, or some folder you are file sharing?
    If the file is read-only (for the other user), then that's why you're getting the Duplication request.
    I would put the files in  /Users/Shared, and that should work.

  • Sharing email between User accounts

    Can I set up an email account so that I can access it from multiple Users?  I would like to avoid having to go through the same set-up process separately for each User account?  Otherwise I have to download all my old emails from the web server separately for each User account.  Many thanks.

    Hi,
    Thanks for the reply.
    I did a copy paste of the iTunes Music folder into a new iTunes Music folder under Users/Shared. When I switch over to the other user account, I get the same results. Some folders are accessible and some folders I have no access. It's strange as about 25% of the music folders are No Access, and the others are readable.
    Any further thoughts? Thanks,
    ML

  • HOW TO SWITCH FILES BETWEEN USER ACCOUNTS

    I'm the administator on my computer and want to switch some stuff - from Itunes and Iphoto mainly - to standard accounts set up for other users, namely my sons. When I try to drag stuff into their folders, they are marked with a Red No Entry sign and I get a message telling me that I dont have enough privilages. I've tried the Shared folder, but although I can drag stuff, it cant be opened via the user accounts: there is the same No Entry sign and message. Can someone tell me what I am doing wrong.

    I'm the administator on my computer and want to
    switch some stuff - from Itunes and Iphoto mainly -
    to standard accounts set up for other users, namely
    my sons. When I try to drag stuff into their folders,
    they are marked with a Red No Entry sign and I get a
    message telling me that I dont have enough
    privilages. I've tried the Shared folder, but
    although I can drag stuff, it cant be opened via the
    user accounts: there is the same No Entry sign and
    message. Can someone tell me what I am doing wrong.
    Hi. I've never had any trouble dropping things in the other user's Public Folder > Drop box. That one should be available to you.
    Hope this helps.

  • How do I share files between user accounts on same MBP

    My wife and I both share a MBP and have different logins. We want to be able to access (not just read but also edit) document files in each others Home. From reading the Apple information on sharing files, we can do that by placing them in a Public or Shared folder.  But that only gives a the ability to read, not write the files.  Am I interpreting that correctly?  Or is there a way to do this?

    You can transfer the file to your computer, change it, then put it back in the Shared Folder.

Maybe you are looking for

  • Is it possible to access to the path property of a shape layer by AEGP API?

    Hi everyone! I recently started depeloping AE plug-in and trying to access to the path of shapes on the layer from AEGP API. Sorry in advance if my question has been already asked by someone before, but I couldn't find exact answer to my question so

  • DP90 - Rebilling with down payment

    Hello gurus, I'm struggling in setting up rebilling with down payment function / DP90. I used OSS 858703 to configure this scenario. Unfortunately I got an error message which linked to DB-View V_VPKHI and FM VPKD8_GET_PDOC_FOR_SDORDER . Additionally

  • Scheduling Automatic Database objects comparison through Oracle CHange Mana

    HI, I need to compare some schemas for two databases regularly to make sure that the databases are in sync state.Could you guys pls tell me if there is any option/way through which i can do the automatic scheduling to compare the DB objects of the tw

  • JAVA  Portal  Exeption

    i begin develop a web  java portal but i have two exceptions 1-Could not initialize class com.sap.conn.jco.rt.MiddlewareJavaRfc Exception 2-Could not initialize class com.sap.conn.jco.rt.JCoRuntimeFactory please help me urgently

  • Smartforms Dump at Command - New Page

    Hi Experts, I have to create a Smartforms Layout. I have to print the first page as Landscape and the rest of the pages as portrait. The first page will contain the summary. Other will contain different details related to the summary. I have created