[SOLVED] Where to put dosbox games to share them between users?

Hi everybody,
the subject pretty much says it all.
Where should I put my dosbox games to share the files between multiple users?
The file permissions are the problem. I guess, having user writable files outside of /home is not the best idea (isn't it?).
In addition: Highscores and config files need to writable to all users, but config files should not be shared between the users.
Any idea?
Regards,
float
Solved: I'm using UnionFS for most of the games. Highscores are placed in /opt/$pkgname. Thank you for your ansers!
Last edited by float (2013-02-14 20:23:45)

@ezzetabi: That is great for storing locally only the changes. Is useful for saving space when several people will have almost the same data stored, except some few changes.
But that is not exactly what the OP wants to achieve. He certainly wants to have the same game data, and have locally the config files. But he also wants to have one common highscores file, that is writeable for everyone. So is like this:
Game data  - readable-only for every one
Config files - readable/writeable and isolated for each user
Highscores - Exactly the same file, readable/writeable for anyone.
While union fusefs could help with the first 2 things, for the last one is necessary to use a symlink to an area writeable for anyone. And since in the end is necessary to use a symlink, maybe is more easy just to use symlinks for all.
So the path to solve it could be one of this options:
Install union fusefs, create an script to automount the files and create a symlink for the highscore files if it does not exist, and then run dosbox
Create an script to create the symlinks if they don't exist and then run dosbox
Last edited by chris_l (2013-01-18 16:56:09)

Similar Messages

  • How do I share programs between users on my MacBook Pro.

    How do I share programs between users on my MacBook Pro. I downloaded mine craft under my user name and I just made my son a new user on the computer but I can't figure out how to put mine craft on his desktop

    Try going to system preferences, then go to users and groups- find the option to allow sharing among users
    I hope this solved your problem(: btw- I love minecraft!!!

  • How to share programs between users on same machine?

    I'm sure there is an easy answer to this and as a proud five year Apple user, I'm kinda embarrassed to ask. But now that I am sharing a computer with new fiance, I need to know!
    How can we share software between users on the same machine without downloading it under each user?

    The difficult question isn't sharing programs (which almost always are shared by default) but how to share data. In particular, music in iTunes, photos in iPhoto, videos in iMovie, they all resist sharing because those apps were not designed for it. In general, to share data you can use the "Shared" folder. Go to your home folder, and go up a level to Users, then select Shared. You might want to drag it to the places list on the left in the finder so you can get to it easily. You can put your iTunes and iPhoto libraries in Shared. To select the shared versions, hold down the Option key while launching iTunes or iPhoto. Video files can also be stored in Shared, however iMovie seems to be hard connected to an individuals Movie folder.

  • How do I share files between users on the same Macbook pro?

    I have created different users on my new Macbookpro, but I can't seem to share files between two users. Help how do I share files between users on one laptop? eg. a pdf file that I want to grab from my user x and use it on user y, thanks.  By the way I have already tries going into system preferences, sharing folder, then turning on file sharing and that didnt work. thanks

    From the Help Menu using the search criteria Drop Box

  • Can't share iTunes between Users

    Trying to share iTunes between users on a Powebook 15" 1.6 Ghz running Leopard.
    I followed the instructions in this link:
    http://support.apple.com/kb/HT1203?viewlocale=en_US
    As instructed I moved the administrators iTunes Music folder to the computer / Users / Shared folder.
    Then I changed the Preference in the admin's iTunes to choose the new location of the folder as instructed. (I chose the Shared folder as the location, not the iTunes Music folder itself)
    Then I got a dialog box asking if I wanted iTunes to organize the files and I clicked Yes.
    (then I rebooted iTunes)
    Then I looked in the Shared folder and was surprised to see that the Shared folder was full of lots of folders of artists names which contain music files. Also in there was the iTunes Music folder which contained a few folders of artists names.
    Is this correct? Should all the artist folders be inside the iTunes Music folder?
    Lastly the sharing does not seem to have worked. When I log in as one of the other (non admin) users, and change their iTunes Preferences to locate their ITunes Music folder as the computer Shared folder, then reboot iTunes, the music is NOT accessible to them. (no music showing in their library)
    In the link instructions it says to "follow the above steps for all users who want to share their music"
    Well, as mentioned I changed the non admin users iTunes Preferences to specify the new location inside the Shared folder
    but if I also try to follow the step of moving the non admin users iTunes Music folder to the computer Shared folder it asks me if I want to replace it - so I assume I should not duplicate this step.
    PHEW !!
    Also I noticed in the admins home folder there is also a Shared folder which seems to be a different one to the computer Shared folder. (this one contains other music files)
    PLEASE HELP
    thanks
    Pete
    London
    UK

    I am having a similar problem, but between macs and PCs. The PC (1 vista and 1XP) can share between themselves, and the mac can share between users, but neither PCs or mac sees the other. I have checked all sharing (itunes and systems prefs) and both indicate they are on but no one is connected. Both PC also have sharing turned on. By the way, this worked a week ago. I have not changed anything that would cause sharing to be affected.

  • Share photos between users

    Is there a simple way to share content between user accounts? Photos, photostream and itunes?

    Any sort of data is accessible for all users on one machine if stored under /Users/Shared.
    So, you could move your iTunes and iPhoto libraries there.
    With iPhoto it's simple: Quit iPhoto, then move the iPhoto Library file there, then each user may double-click on the file in Finder.
    With iTunes it's a tiny bit trickier: Go to its Preferences -> Avanced tab, and change the media folder location there. First for the user who "owns" the folder now, then for the other users.

  • I'm trying to share folder between users on a single mac.  I put the folder in "shared," set permissions so other user can read and write, enabled file sharing, but can't find the folder on the second user's account.  Any help?

    I'm trying to share a folder between users on a single mac.  I want both users to be able to read and write so the folder stays current on both accounts.  I put the folder in "shared," set permissions on folder so other user can read and write, enabled file sharing, but can't find the folder on the second user's account.  Any help?

    Did you log out of one account and into the other or just used Fast user switching?
    Is the permissions set to anyone?
    When you move data to teh Shared folder is it copied or just moved?
    If copied then it's not a folder both can access, just a way station like a USB thumb drive that things are coped too and off of likely.
    You can run this #5 on each user account to reset the user permissions once they are taken back out of the Shared folder
    Step by Step to fix your Mac

  • How do I share files between users on the same machine?

    I tried using /Users/shared to share files between myself (Admin user) and another user on the machine (Standard user). Whenever I put a file or a folder into said directory permissions are 755 for directories and 644 for files, my umask is 0022. The files and directories belong to my user and the group staff. This means I can read and write and others can read. If I do the same using the other users account. Permissions are 700 and 600 respectively. (Owner is the other user and group is staff.) Strangely the other users umask is 0022, too.
    The result is, that all directories and files I create with my account (Admin user) are readable to every other user on the machine, whereas all directories and files the other user (Standard user) creates are not readable for anyone else. I can easily rectify this using the Terminal and chmod and/or chown, but it is a pain having to do this, since I also need to forcefully restart the Finder App for it to notice the changed permissions.
    Ideally I'd like all directories in /Users/Shared to have permissions 777 and all files 666 no matter which user created, copied or moved them to said location. I think this could possibly be done using applescript and shellscripting and the folder action hook. So far my attempts to find such a script on the net or/and write it myself have failed. I'd be grateful for any hints how I:
    a) write and setup such a script
    b) accomplish what I try to do (share files and folders on the same machine) in another possibly more Mac way
    Kind regards
    David

    The following AppleScript will recursively descend the directory tree and change the items to your modes:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFDDFF;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on adding folder items to this_folder after receiving these_items
    repeat with some_item in these_items
    ProcessStuff from some_item
    end repeat
    end adding folder items to
    to ProcessStuff from SomeItem
    processes items contained in SomeItem, recursively descending the directory tree
    parameters - SomeItem [mixed]: an item containing the items to process
    returns nothing
    set SomeItem to SomeItem as text
    set FileInfo to (info for SomeItem as alias)
    if (folder of FileInfo) and not (package folder of FileInfo) then -- a folder (not a package)
    do shell script "chmod 666 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    try -- to get items in the folder
    tell application "Finder" to set SubFolder to (items of folder SomeItem)
    on error
    return {}
    end try
    repeat with SubItem in SubFolder -- process the sub items
    ProcessStuff from SubItem
    end repeat
    else -- a file
    do shell script "chmod 777 " & quoted form of POSIX path of SomeItem
    -- do shell script "chown root:staff " & quoted form of POSIX path of SomeItem user name "me" password "mypassword" with administrator privileges
    end if
    return
    end ProcessStuff
    </pre>
    You shouldn't need to change the ownership, so I commented out the chown shell script since this would need to be run as a super user. You can run a shell script with administrator privileges, but in order to be used by a standard user you will need to provide the appropriate user name and password in the script, which might not be a good idea - note that the folder action script will need to be attached in all accounts that you want to change the permissions, which means that it would need to be accessible to those accounts.

  • How do I share music between user accounts on the same computer?

    My wife and I have separate user accounts on the same MacBook Pro so that we can both sync our phones to this computer. My account is the primary user account, and my iTunes library is stored in this account. My wife would like to put music on her iPhone so she can run, but I can't seem to access the music library thru her account. I know the files are all on the hard drive regardless, so I just need to know how I can make iTunes on my wife's account access the library that's there. I've tried the steps I could find on Apple's website, but I can't seem to make it work. I'm running the latest versions of everything - even tho the post says I'm running 10.9.1, I'm actually running 10.9.4

    To give other users read-only access to your iTunes library, use the Sharing features of iTunes. Sharing works over the local network as well as on the same computer. See the built-in help for details.
    If you want to give full read/write access to more than one user, see the support article linked below.
    iTunes: How to share music between different accounts on a single computer
    There is a way to share the library without moving it to a secondary volume. If you really need to do that, ask for instructions.

  • Best way to share files between users?

    New to the Mac World and trying to set things up for all our users. We have 5 (2adults,3kids) and I'm keen to be able to share some files with other members of my family and would like to know the easiest way in doing this.
    A couple of things to note;
    - The two adults are the admin's
    - Would like to share some photos between users (family photos are usually organised by my wife so I don't get to see them)
    - I'd like to let my kids view some of my videos that I've downloaded but not all of them
    Appreciate your time guys!
    Cheers

    Please try this first.  If you want to share certain files between users like pictures or music or even documents, apple has provided an easy way to do so.  The first step is to decide what to share.  For this example I will do pictures.  Open up Finder and go to the Macintosh HD, then click on "Users".  Here you will see a list of the users. Your account will look like a house instead of a folder because it is the account in use.  Click on your account and then right click (secondary click) on the pictures folder. 
    NOTE: From this point on you can do the same thing to any folder, such as music, documents, etc. or any file, such as a specific document in your documents folder.  But I will keep explaining pictures.
    After right clicking on the pictures folder, a new window will open up.  Near the bottom you will see "Sharing & Permissions:"  This is where you decide which users can access your folders/files and whether they can just read them or read and write them.  For example, if you want your wife and kids to have access to your iphoto library, just press the "+" button and add each one of them.  Under "Privilege" you had better give your wife the ability to "Read & Write" or you may get in trouble .  By doing this, any pictures she adds, deletes, or edits will be added, deleted, or edited in your iphoto too (and vice versa).  Lets say you don't want your kids to have editing abilities, then you just give them the "Read Only" privilege.  They can look at all the pictures, but they cannot change, add, or delete them.
    When your wife opens iPhoto for the first time, it will ask which library she wants to use.  (If not, you can do it through the menu bar).  Make sure you choose the iPhoto library under YOUR user account, not your wife's (it's empty).  It will no longer have a little red minus sign next to it.  That is the last time it will ask.  Every time your wife opens her iPhoto, it will use that library.  Same for the kiddos. 
    Again, you can do this with any folder or file.  This is how Apple intended users to share content without duplicating files or using external hard drives.  This way each user has their own icloud account but can access the families shared content.
    Hope this helps!  Good luck!

  • Can't share files between user accounts/User accounts not showing up?

    I just bought a new macbook tonight. After doing the initial setup, I updated the software as requested. Next I setup seperate accounts for my wife and I. The only files we want to share are pictures and music, but for some reason I have been unable to share them. If I do a search while logged into her account, I can bring up the pictures just fine. However, when I go into Macintosh HD\Users my user name is not there.
    For example, if my original user name (created automatically) was "jonathandoe" and I changed it to "John Doe", "Jon Doe" does not show up under Macintoshhd even though I've shared it. The only thing there is "jonathandoe" and there is nothing in the pictures directory.
    What gives?
    Message was edited by: donkengine

    Lots of good info but didn't solve my problem. Seems that my Vista machine, while is online via the network, can't see anything on the network except for itself. It had success using SMB at some point to transfer files to the Vista machine but I don't remember what was different. It may have been before I actually setup the AEBS network and was still using an older Microsoft router. Or, it could have been when I was using N plus B/G with WEP versus N plus A which I'm using now.

  • I have one iMac with 2 users. Will Home sharing allow me to share music between users? (running Mac OS 10.8.2

    I just seemed to get turned around when trying to share music on the same iMac.
    How do I share music between two different users with two different iTunes accounts on the same iMac. My wife and I simply want to be able to share music that she purchases with me and visa versa. We each have our own iPads and I am unsure of the proper way to do this so I don't messup the syncing of our iPads.
    Part of the reason I ask is that I see questions concerning two different computers. Does it make any difference that I am trying to share music between two users on the same iMac
    Thank you in advance for information helping me to understand the Home Sharing process.

    Hi, one question & one suggestion...
    What possible things are connected at home but not at the store, inlude every cable, etc.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Share calendar between users on the SAME mac

    How can I share a single calendar (and address book) between users on the SAME mac? Thanks.

    I've got the same question...
    Anyone?
    Anyone?
    ...bump...

  • How do i share files between users

    I would like to know how to share documents (files) between users on my iMac.   Any suggestions would be welcome.

    Choose Go to Folder from the Finder’s Go menu, provide /Users/Shared/ as the path, and drag them there.
    (117100)

  • How can I get Address Book Server to share contacts between users?

    I want to have a Shared Address Book for the users on my installation of OS X Lion Server. Users will keep their own contacts individually but there are certain lists and contacts who need to be shared between users and I can't find any way of getting Lion Server to do this. I know it was a problem in Snow Leopard Server but I hoped it had been fixed.
    Any suggestions?

    Create a new user on the Server called 'ouraddressbook' or whatever. Exit the Server. Into Address Book on your Admin/Client machine create a new Account. Account type is CardDAV, Username and Password the same as the User you created on the Server… 'ouraddressbook' or whatever, and then enter your Server's address as text or numbers. Click creat and the rest is straight forward. Now give the set up details of that new Account to the others who want to share your 'ouraddressbook' with you.The Clients must have, I think, Mac OS 10.6  or upwards to have an Address Book that with co-operate.
    You will see a new group in Address Book.
    If you don't already know, do not add accounts to Address Book or iCal on the Server. Everything is Admin and Client Side. In the beginning I was also adding accounts to iCal and Address on the Server. It works fine but it is just one extra thing that could become corrupted. Let the Server 'serve' the Users you create on it.
    Hit me if you have problems.

Maybe you are looking for

  • Upgrade clusterware to 10.2.0.5

    Experts, Can we upgrade oracle clusterware from base version to 10.2.0.5 directly and similarly for RDBMS ? Where can we download the patchset ? Patchset number seems to be same for RDBMA and clusterware, is it so ? Need help. AIX 5.3 Oracle 10.2.0.5

  • Service 'apple mobile device' (apple mobile device) failed to start. verify that you have sufficiant priviliiages to start system services

    hi! i got an auto-update message from itunes so i tried to auto-update but it said some errors occurred and i have to manually download an installer and do it. i downloaded the installer from apple and did it manually. but the message come up with is

  • Reload servlet to a specific area on the page

    Hi, gang I have a servlet that refreshes at user defined rate and displays a bunch of different things on the page. I would like to the user to be able to click on a link that would take him to (for instance) a middle of the page, and when the servle

  • Instant client for SQLLDR

    I see Oracle provides several instant client downloads. Is there a SQLLDR instant client, or a lite version that doesn't require the whole Oracle client for Linux (both 64 and 32 bit)?

  • How do I use a package?

    I know that instead of writing "import" you write "package." But how do you make a package? Do you just create a folder, put relevant .class files in there, and then type "package <folder path>" on your Java program? Is that how it works? If someone