Mounting Sparse Image disk at boot

I had a look a threads treating this but still I am not satisfied.
I want my iPhoto image disk to mount automatically when I boot the iMAC or at least when I am login. For that I have added the target sparse image disk in the list of applications to launch at login of my user (in the user&account)
Once this is done and when I login again appears the disk utility but the disk does not mount automatically I have to do it myself (by pressing the mount button in the disk utility) which is not totally satisfactory to me.
Any clue how to make this mount totally invisible and automatic without passing through the disk utility?
thanks in advance,
regards

I am not sure to understand your remark. Are you controlling what is on the computers of comunity users before answering to the question?
To answer you: I use BitTorrentSync software to load movies I ripped onto my iPadMini without using iTunes which does not accept the format I used to rip my DVD.
Hope this answers.

Similar Messages

  • Time Machine and mounted sparse bundle disk image - file by file backup?

    I think I had this system working in Leopard, but upon upgrade to Snow Leopard it seems to have broken. Does anyone have any idea how I can get Time Machine to back up the contents of a mounted sparse bundle disk image in real time - file by file within the disk image? For example, I have a 2GB sparse bundle disk image that i keep all of my bank statements/files/records in. It auto-mounts on boot and stays mounted. I use the disk image to keep it password-protected, so if I unmount it it is fairly safe. In Leopard, I would exclude the .sparseimage file from backup, but it would still backup the mounted image itself on a file-by-file basis, so I could enter Time Machine and explore the image folder by folder, file by file (say I deleted an old bank statement by mistake, I could go into time machine and recover as if it were a normal file/folder).
    In Snow Leopard, after a clean install, and creating a new sparse bundle disk image and excluding the .sparsebundle file, I can't seem to get this to work even though the image is mounted. Is there any way to trick Time Machine into backing up the mounted image as it would any other folder? I know I can back up the .sparsebundle file incrementally but in order to recover a lost document I'd have to remount the old bundle and that seems rather roundabout.
    Thanks,

    I think you're trying to bypass the finder to mount the disk. Try this (I'll bold the key steps):
    - *Turn off Time Machine* in the System Preferences.
    - Option A: If you directly use a hard disk (not wireless) that has the sparsebundle you want to open, *connect the disk* but don't double click on the sparsebundle.
    - Option B: If you are using wireless, this means use shift-command-k (or shift-apple-k), and if it says "Connect As..." in the upper right instead of disconnect, then use that button to *connect to that wireless drive*.
    - Confirm the sparsebundle shows in that folder before proceeding...
    - *Open Terminal* (Applications>Utilities>Terminal.app)
    - Type: *hdiutil attach -noverify* (<-- notice a *space " "* must be included after typing this here but *DON'T hit return* yet.)
    - *Drag the sparsebundle to the cursor in terminal*, and it should fill in something like /Volumes/HardDrive/COMPUTERNAME.sparsebundle for you. Now you can hit return, and the disk will mount.
    - After you are done browsing sparsebundle's mounted image, *eject the mounted disk* like you would any other disk (not the sparsebundle image itself, just the disk icon that appeared if you successfully mounted it).
    - Turn *Time Machine back on* in the System Preferences.
    Hope this helps.

  • List view for folders on a sparse image disk

    I have set up a sparse image on an external disk.  I cannot get the sparse image disk folders to default to "List View".  It always opens as "Icons" and I have to click on list view everytime.  Any ideas?

    Go to the Preferences under the small box at the upper-left:
    On the General pane, check the box to "Show list views for all media".
    Regards.

  • I can't mount an image disk .dmg (error -4960)

    Hi,
    After move an image disk from the internal HD to an external HD (FW400), .dmg failed -> error -4960. If I move back, the .dmg failed. I've try to repair autorization, repair keychain, fsck... no success.
    Thank for your help
    Jac

    Hi,
    No solution. Finally a reinstall snow leopard from scratch and no problem anymore.
    Thx

  • Best approach for Time Machine / Entourage / FileVault / sparse bundle disk

    I am looking to set up Time Machine belatedly on my G5 to provide hassle-free backup for me and my family. I use Entourage. I also want to provide a small amount of encrypted storage. I’ve scoured the obvious places which have plenty of ideas, but nothing which pulls it all together.
    My thoughts so far have been:
    1. Time Machine doesn’t work well with Entourage as Entourage uses a monolithic single file (which in my case is several GB big) – backing this up every hour will bring my machine to its knees, fill up the backup disk and will possibly give a corrupt backup as the file could be accessed by Entourage or the MS daemon process during the backup.
    2. I thought of turning FileVault on which would automatically contain the Entourage file. This would mean:
    a) the sparse bundle format (8 MB bands) of FileVault would limit the volume of changed Entourage data which would be backed up each time by Time Machine and
    b) the backup would only occur during logout (which is fine with me) when Entourage and the MS daemon are not running so that the backup won’t be corrupt.
    3. However I am not hearing good things about the reliability of FileVault (comments?) and don’t want all the data in my Home folders lost – I don’t need that much encryption anyway.
    4. So I thought about setting up a couple of encrypted disk images made of sparse bundles – one for the Entourage data (symbolically linked to the right place for Entourage to pick the folder up) and the other for the other small number of files I need encrypted. This could be auto-mounted at login.
    5. However I think that using disk images rather than FileVault loses the automatic backup by Time Machine at logout. Maybe there is a way to get Time Machine to automatically backup these disk images during logout.
    6. Perhaps there is another way to get the disk images backed up at logout other than using Time Machine.
    So my questions are:
    A. What is the best overall approach to providing a low-maintenance reliable backup which deals appropriately with Entourage and provides a small amount of encrypted space?
    B. Can Time Machine be made to backup disk images other than FileVault disk images at logout? (for example is there a particular location / filename format for FileVault images which I could emulate with the other disk images to fool Time Machine into backing them up?)
    C. When Time Machine runs at logout, have MS Entourage and the daemon process already been shut down and the disks unmounted, to prevent corruption?
    D. Is there another way of backing up the sparse image disks at logout?
    C. Is this all going to get magically fixed in Snow Leopard?
    D. Will MS come up with a sensible storage format for Entourage?
    Any thoughts greatly appreciated.

    I don't know if there is a complete solution, but here are some things you could consider.
    1. TM does not run automatically at logout unless FileVault is enabled.
    2. You can change the backup period using third-party utilities like TimeMachineEditor - VersionTracker or MacUpdate.
    3. You can exclude the Microsoft User Data folder from the TM backup and back it up separately using third-party backup software.
    4. You can use third-party backup software instead of TM, such as:
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. Carbon Copy Cloner (Donationware)
    6. SuperDuper! (Commercial)
    7. Intego Personal Backup (Commercial)
    8. Data Backup (Commercial)
    9. SilverKeeper 2.0 (Freeware)
    10. Tri-Backup (Commercial)
    11. Apple Backup (requires a .Mac account with Apple both to get the software and to use it.)
    Apple's Backup is a full backup tool capable of backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility.
    Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files.
    Third-party backup utilities can run backups on schedules you set up. Thus, you can schedule your backups to occur at a time when you do not use the machine such as early in the AM for example.

  • Does Time Machine still ignore mounted disk images? Specifically, encrypted sparse bundle disk images?

    My Time Machine backs up to Time Capsule which cannot be encrypted. I also have confidential data in an encrypted sparse bundle disk image in my home folder. When TM backs up and the encrypted sparse bundle disk image is mounted and I'm accessing the data, does TM back up the data "in the clear" decrypted form or does it exclude the disk image because it's mounted? I've done a little research, but there's conflicting information. Not sure what happens in Lion now...

    Time Machine does not backup mounted disk images! The encrypted sparse bundle disk image was mounted, I updated a doc and did a TM backup - the file was not listed in the TM repository and the doc remained unchanged in the encrypted sparse bundle disk image on TM. Then I ejected the disk image and did a TM backup - the updated doc was backed up in the encrypted sparse bundle disk image! Thank you!

  • How to recover partition (with encrypted sparse bundle disk image) that won't mount?

    I have a Late 2013 27" iMac running OS X 10.9.4.  I have an external drive that I use for Time Machine backups which also has an encrypted sparse bundle disk image.  Yesterday, the drive stopped showing up in Finder, so I went to Disk Utility and tried to mount it.  No go.  So I tried repairing it, and it said it couldn't.  I'm not worried about the Time Machine backup since my iMac is find so I can just make a backup to a new external drive.  However, the encrypted sparse bundle disk image has some files in it that I don't have elsewhere.  Is there a way to recover these files without sending it in to a drive recovery service (since those would cost a LOT of money)?

    No such options.  As I mentioned in the post title and in my first post, the partition won't mount.

  • Disk Utility Restore from Sparse Image taking forever

    I created a sparse image backup of my MBP C2D using SuperDuper! before sending the laptop back to Apple for repair. I wiped the drive clean before shipping. I now have the laptop back and am trying to restore the sparse image to the HD.
    The sparse image file is on an HD in my G5 tower and is just over 108 GB. I booted the G5 into target disk mode and connected it to my MBP via FW800. I then booted off the Leopard install disk and launched Disk Utility to do the restore.
    The sparse image mounts fine in Disk Utility and is specified as my source for the restore.
    I started this restore last night before I checked out for the night and when I got up this morning, Disk Utility showed about 35-40% of the image had been restored and 14 HOURS were remaining. That seems a little excessive after it had already been running for well over 9 - 10 hours.
    The sparse image mounts on the MBP just fine using target disk mode from my G5 -- so as far as can tell, my backup image itself is ok.
    My question is this: is the Restore function performance of Disk Utility with sparse images really this bad or is something wrong with what I am doing? I really don't want to rebuild my laptop from scratch, but if I have to wait 34 or more hours for Disk Utility to finish a restore -- it might be quicker to rebuild it.
    Any ideas out there?
    Message was edited by: Randy Vose

    Randy Vose wrote:
    I created a sparse image backup of my MBP C2D using SuperDuper! before sending the laptop back to Apple for repair. I wiped the drive clean before shipping. I now have the laptop back and am trying to restore the sparse image to the HD.
    The sparse image file is on an HD in my G5 tower and is just over 108 GB. I booted the G5 into target disk mode and connected it to my MBP via FW800. I then booted off the Leopard install disk and launched Disk Utility to do the restore.
    The sparse image mounts fine in Disk Utility and is specified as my source for the restore.
    I started this restore last night before I checked out for the night and when I got up this morning, Disk Utility showed about 35-40% of the image had been restored and 14 HOURS were remaining. That seems a little excessive after it had already been running for well over 9 - 10 hours.
    The sparse image mounts on the MBP just fine using target disk mode from my G5 -- so as far as can tell, my backup image itself is ok.
    My question is this: is the Restore function performance of Disk Utility with sparse images really this bad or is something wrong with what I am doing?
    no the restore function is not this bad.
    something must be wrong with your sparse image. you should have tested it before sending the computer for repairs. and why did you use a sparse image at all?! you should have made (and tested) a standard clone.

  • 34GB File Vault sparse image not mounting

    Hi there,
    I have an ibook G4, OS X 10.4.11, Capacity 55.77 GB, Available 5.53 GB
    I've had my home folder (34.69 GB) encrypted with File Vault for about 5 years. A few weeks ago I had to hard shut down when Safari crashed. Upon restart I got the scary "unable to login as this user at this time". I was able to create a new user account. I scoured the internet and followed apple instructions: http://support.apple.com/kb/HT2631
    I can see my old sparse image file. But when I get to step 18 above, I get the message: The following disk images failed to mount, lockedouthome.sparseimage, reason--> input/output error
    When I try to back up the sparse image to an external hard drive, I get the message: The finder cannot complete the operation because some data in "lockedouthome.sparseimage" could not be read or written.
    Is there anything else I can possibly do before I trash the home folder and start over? I have backups of my itunes and iphoto library, but never got around to backing up the Word documents and web archives that are career related. Please help! I hate to trash it, when I can see the file sitting right there with all my stuff looking like it's still inside (34 GB).
    Thanks,
    unaware filevaulter

    I completely understand the money issue myself.
    But DW is your best cheapest hope of any recovery, in fact I do not even buy a new Mac/OS until DW supports it, that's no guarantee it wiil work though.
    Could you please explain what you mean by "if you don't have an external drive to boot from" in regards to using the Disk Warrior CD or DVD?
    I don't know how you were backing up, nor whether these drives are bootable, but in this day & age it pays to have a bootable Clone of your drive, DW & other Apps can be run from say an external drive to repair your Internal drive... since you cannot repair the HD you're booted from, you need either another boot drive, or a CD/DVD to boot from.
    I use FW drives on most of my Networks and use Tri-Backup...
    http://www.tri-edre.com/english/index.html
    Can't say enough good about Tri-Backup.
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/tribackup.html

  • Auto-Mounting Network Shares/Disk Images

    Hi,
    I'd like to share how I solved my problem with auto-mounting a network disk image/folder share to be used as a custom library/location for Aperture 3.xx. I can now either reference the master photos from the network or have it copy to this disk image volume on the network, although it might be better to have it copy to the disk image volume, so one can move it around as a file later. I researched hard over these forums and internet resources and discovered what I thought was the best way to accomplish this. Initially, I found right away that Aperture doesn't allow you to create a library over your network drive or a home server such as mine, unless it is partitioned/formatted to Mac OS. This wasn't acceptable for me as I also run Windows 7 PCs that need to utilize the network folder shares, as well.
    I don't understand why I don't have this problem using iPhoto 2011, and do with Aperture 3.0, which is a far more expensive application. Anyhow, I read a little about NFS, but didn't know how to implement this or if it required the Mac Server and/or a non-built in application, it probably isn't compatible with windows. So, I found that by creating a .DMG disk image file, as a partitioned/formatted Mac OS file in Disk Utility, and saving it to the network folder of my choosing, did the trick.
    Steps I used to accomplish this:
    -Go to Disk Utility and create "New Image"
    -Select format w/ MacOSX Extended(journaled) and choose "single partition/GUID" type (or whatever you want)
    -Enter a custom size of your disk image (ex in 1GB or 1TB). Click "Create"
    * I created this locally 1st and then I copied it over the network, to the network folder/subfolder on my HP Mediasmart Home Server EX495. I found that creating it over the network took too long and would crash Disk Utility.
    -After it's copied to your desired location over the network folder, open Automator.
    -choose "Application" workflow, double-click to add "Get Specified servers". Enter location of your server (ex smb://hpserver/)
    -Then add "Connect to Servers",
    -Then add "Get specified Finder Items". Click Add, and locate your disk image file over the network. (this will automatically add the location path. For ex. smb:/hpserver/photos/aperture_library.dmg)
    -Then add "Mount Disk Image".
    -Then test workflow by clicking on "Run" button on top right of window. If your
    Finder->Preferences->General settings on your Mac is set to show "Connected Servers" on your desktop, your disk image will appear on you desktop.
    -Finally, save this Application workflow as an application by clicking File menu->Save As. Save this to your documents folder area.
    -To have your Mac auto-mount your disk image automatically when you login:
    ->go to System Preferences->Accounts->your "Admin account name"->Login Items
    ->click "+" sign and navigate to the Documents folder, to where the Automator application you saved
    ->click Add. Once done, it will appear on the Login Items area. You can choose to hide it, if you want by clicking the checkbox.
    -Now Restart your Mac, and now your disk image should auto-mount.
    Hope this helps, as it helped me solve the issue. Too bad one must have to program this and it is not native on MacOSX.

    Too many steps. Do this:
    1. Go to Disk Utility and create a disk image with the following properties:
    Format: Mac OS Extended (Journaled)
    Partitions: Hard Disk
    Image Format: Sparse bundle disk image
    2. Copy the image you just created to the share on the network where it should reside.
    3. Open System Preferences, and click on the Accounts icon
    4. Select *your account* and click on the Login Items tab
    5. Drag the icon for the disk image from the network share into the Login Items list
    If a login item is something on a network share, it will reconnect to the share it's located on automatically first.
    If a login item is a disk image, the disk image will be opened and mounted.
    It's important that the image is a journaled one because if it isn't, being disconnected from it while writing would be potentially disastrous.
    It's important that the image is a sparsebundle for two reasons: sparsebundles only take up as much space as they need (e.g., a 1Tb sparsebundle with 100M of data takes up about 100M of space), and they also break the disk down into smaller files. If the underlying filesystem on your network share is FAT32, then no file can go over 4Gb. If you use a sparsebundle, of course, there's no practical limit to how large the disk image can get. Also, it can speed up certain types of backup procedures.
    I suggest using partition type "Hard Disk" instead of "1 partition GUID" because, as a disk image, there's no sense in having a partition table or making it bootable (because you can't boot from the image).

  • Disk Utility doesn't offer sparse images

    I want to make disk images of hard drives, but Disk Utility no longer offers the "sparse image" format. Why is this?
    iMac (27-inch Mid 2011), OS X Mountain Lion (10.8.2)

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Can I put Network Users on a sparse bundle disk image?

    Hello! Can anyone out there help me figure out what seems to be a rather complicated feat?  I'm trying to get users to log in to client iMacs as if they were local accounts, but the user account information is stored on a sparse bundle disk image.
    Long story short, I've currently got OS X Server running network user accounts tied to Active Directory.  When the users log in, they have a sparse bundle disk image that automatically mounts on their desktop.  This has been an effective solution for some of our software that doesn't play well with Network storage, as the sparse bundle is treated like local storage by the Macs.
    However, what would be a much better solution for us is to actually have the whole user account stored on the disk image.  It's a little like the way FileVault 1 worked, except the disk image is actually stored on a network drive.  So far, as a proof-of-concept, I've been able to make this work manually: I've had to log in to a local admin user and then mount the user's sparse bundle with all their user folder contents contained within.  Then, once the user path is changed to point to the disk image, the user logs right in, everything works exactly as expected (once I got the permissions set correctly).  This method works exactly like a Network User account except that all the applications see it as local storage instead of network storage.
    The trick, though, is automating this process.  I want a user to sit down in front of any iMac, log in and go straight to their account.  It would be nice if OS X Server was able to accommodate this with a setting, but it doesn't.  So, my plan so far has been to create a generic local account with a script on the desktop that users can open to login in.  The script would then mount the network share, then mount the sparse bundle disk image, then log the user in to their "local" account on the iMac.  When they log out, there's a login hook that restarts the machine.
    So far, I'm stumbling over the fact that the sparse bundle unmount when logging out of the generic "login" account, preventing the user from logging in.  But if I leave the generic account logged in, then the loginhook to restart the computer doesn't work.
    Any feedback or suggestions would be greatly appreciated!

    IIRC, sparse images only grow as things are added, but do not shrink. Create a new one, mount the original, transfer your stuff from the original into the new one, and delete the original one.

  • Mounting an Apple disk image (Intel Mac) under other Unixes/Linux

    Hello,
    I have started my MacBook in HDD Mode and connected it via Firewire-Cable to my "Main-Server" (Slackware Linux 11.0).
    From there i created a "Disk-Image" from my MacBooks HDD using "dd"
    I can mount the disk image within OS X without any problems, but i can´t mount it on the Linuxbox.
    I have used this cmd under Linux : "mount -o loop -t hpfs image.dmg /mnt/tmp" But i am getting an error saying that it doesn´t seem to be a Apple File System Image.
    I have made sure that support for Apple FS is "compiled-in" in the Linux-Kernel. If i do a file image.dmg i get this:
    x86 boot sector; partition 1: ID=0xee, starthead 254, startsector 1, 117210232 sectors, extended partition table (last)\011
    Does anyone know how i can mount this image under Linux?
    Thanks,
    tyrtux.

    I can't offer any solution yet, but here's a bit of information that might prove useful in understanding the problem.
    "mount" on Linux mounts file systems, not disk images. A disk image is just that -- a bit-for-bit image of the sectors on what would be a physical disk. A file system is a portion of a disk structured in a specific way -- a section set aside for managing free space, a "root" directory, etc.
    A partition is a logical subdivision of a disk. Usually, each file system on a disk completely fills one partition; but partitions may overlap, and one partition may contain any number of file systems.
    A disk -- and therefore a disk image -- contains, within its first physical sector, a partition map. The map includes the start sector, size, and type of each partition. The type usually hints at what the file system -- if any -- of the associated partition is.
    When you connect a physical drive to a Linux system -- be it IDE, SCSI, USB, or CD-ROM -- Linux scans the partition table. You can then use mount to get access to individual file systems on the device. When you use "mount -o loop", you are asking mount to connect a loopback device to a file that represents not a disk -- but a file system. This is why your attempt is failing; the disk image doesn't look like a file system, it looks like a disk -- it has a partition table of its own.
    You might be able to map the file to a drive for VmWare, and access it from the virtual machine. Otherwise, I'd hunt around for software that deals with complete disk images, not just file systems.
    Powerbook G4 1GHz   Mac OS X (10.3.9)  

  • Can't get free space after deleting a file-sparse bundle disk image

    I have a 150 GB Sparse bundle Disk image with a 256 AES enc. I just deleted about 30 GB worth of tv shows to free up some space but the Disk Image is still the same size with no more free space on the virtual disk either. I know that with Filevault the user has to log out in order to recover free disk space but how does this work with a normal Sparse disk image? Thanks in advance!
    -Macguy3000

    IIRC, sparse images only grow as things are added, but do not shrink. Create a new one, mount the original, transfer your stuff from the original into the new one, and delete the original one.

  • Can't share sparse bundle disk image

    I'm trying to create a sparse bundle disk image in /Users/Shared for sharing between two users on the same computer. No matter what I've tried, the disk always mounts as read only for the non-owner user. I've tried creating the disk image in both accounts, adding the non-owner user with "read & write" permissions, changing all permissions (including everyone) to "read & write," but nothing seems to help. Does anyone have any experience sharing sparse bundle disk images using the shared folder?
    Christopher

    I realized after reading the replies above (thank you, A.Carlo and KJK555) that I was only applying permissions to the top level of the sparse bundle image and not to the underlying directories and files in the package. This was what was keeping the second user from making changes to the mounted disk image. After digging a little deeper into possible solutions, following is what I decided to do.
    First, here are the requirements for my sparse bundle disk image:
    1. Full permissions (rwx) for user1 and user2
    2. No permissions (---) for everyone else
    3. Directories and files created by user1 or user2 need to be fully accessible (rwx) by the other user
    In order to block access to the sparse bundle from unwanted users and to allow for inherited permissions for all future directories and files, I took the following steps:
    1. Created a new group (group1) with user1 and user2 as members
    2. Created a new folder (Example) under /Users/Shared
    3. Removed all permissions from the new folder for everyone but user1 (chmod 700 Example)
    4. Added an ACL to prevent group everyone from deleting the new folder (chmod +a "group:everyone deny delete" Example)
    5 Added an ACL to give group1 full permissions (rwx) to the new folder and allow those permissions to be inherited by new directories and files created within that folder (chmod +a "group:christophertemple allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit)
    This is what the new folder looks like from Terminal:
    $ ls -le
    total 0
    drwx------+ 4 user1 wheel 136 Sep 18 12:45 Example
    0: group:everyone deny delete
    1: group:group1 allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit
    This folder is now accessible only by user1 and user2 and any files or directories created in this folder will be accessible by both users, regardless of which of the two users created them.
    Next, I created an encrypted sparse bundle disk image within the new folder. In Terminal, the disk image looks like this:
    $ ls -le
    total 0
    drwxr-xr-x@ 6 user1 wheel 204 Sep 18 13:03 Example.sparsebundle
    0: group:group1 inherited allow list,addfile,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeex tattr,readsecurity,file_inherit,directoryinherit
    As can be seen above, the new sparse bundle has inherited the group permissions from the parent directory, giving user1 and user2 full access to the disk image.
    While I could have added a few extra steps and changed the permissions of the mounted disk image, I decided against doing so; the default permissions were perfect for my use. By default, the mounted disk image is set to "Ignore ownership on this volume."
    When mounted by user1 this is how the disk image looks in Terminal:
    $ ls -le
    total 8
    drwx------ 7 user1 staff 306 Sep 18 13:01 Example Disk Image
    When mounted by user2 this is how the disk image looks in Terminal:
    $ ls -le
    total 8
    drwx------ 7 user2 staff 306 Sep 18 13:01 Example Disk Image
    With these permissions, no user, other than the user that mounted the image, has access to the image while the image is mounted. This is useful from a security standpoint, keeping others from viewing the contents of the disk image, as well as from a data integrity standpoint, allowing only one person to access files on the disk image at a time (important for some of the data base files the image contains).
    Thanks again to those that responded. I hope this post is helpful to others who might have similar requirements as I did.
    Christopher

Maybe you are looking for