Disk utility's encrypted drives and user permissions

I've decided against using filevault based on some of the feedback and research I have conducted. I am still interested, however, in encryption of some documents. I have used the Disk Utility to create a 128 bit encrypted .dmg image. I mount it using my user account, but only as r-x. I see that root has write permission, and so I assume it is safe to write to these drives. What is the best way to make it so that my user account has rwx permissions? I could manually do a chmod each time I mount the drive, but that seems silly. Also I noticed that apple doesnt seem to mount drives using the same files as linux, so I'm a little confused. Could someone please provide some insight to this. Also, *put on tin foil hat* how secure is this? When I access the drive is it writing unencrypted data to the swap file? thanks,

Hi, iMacGyver.
A. You wrote: " I have used the Disk Utility to create a 128 bit encrypted .dmg image. I mount it using my user account, but only as r-x. I see that root has write permission, and so I assume it is safe to write to these drives."Were you logged in as root when you created the dmg? Or did you create a read-only image from a folder containing the documents?
To create a disk image to which you can add/remove documents and on which you will have Read/Write permissions:
1. Log in to your account.
2. Launch Disk Utility.
3. Select File > New > Blank Disk Image...
4. In the New Blank Image window, type a name for the new disk image in the Save As field, then select a location for saving the disk image, the desired Size, Encryption (select AES-128 in the pop-up menu), and leave Format as "read/write disk image."
5. Click Create.
6. Provide a password for the disk image when prompted. If you want extra security, de-select the option to save the password in your keychain, but be sure to never forget the password if elect to not save it in your Keychain.
You can then double-click the disk image you just created, type the password when prompted, the disk image will mount, and you can add files to it. Ejecting the disk image will unmount it and all the content you added will be encrypted.
One can use Disk Utility > File > New > Disk Image from Folder... to create either a Read Only or Read/Write encrypted disk image of an existing folder of documents, but if you elect to make it Read/Write there isn't much spare capacity for adding documents as the size of the disk image is based on the size of the folder.
Also, if your comfortable with Terminal, you can look into the hdiutil command for creating and managing disk images.
For example, if in step 4 above you selected the format as "sparse disk image", you'd later need to use the hdiutil command to compact the sparse image to recover disk space from files deleted from the spares disk image. Spare disk images are always Read/Write and only occupy as much hard drive space as the data they contain, e.g. a 100 MB sparse disk image containing 30 MB of files only uses 30 MB of hard disk space: they grow as files are added. A conventional R/W disk image of 100 MB in size takes up 100 MB of hard drive space even if it is empty.
However, when you delete files from a sparse disk image, the amount of hard disk space it occupies does not decrease until you compact it using the compact verb of hdiutil. Disk Utility does not expose all of hdiutil's functions.
B. You wrote: "Also I noticed that apple doesnt seem to mount drives using the same files as linux, so I'm a little confused. Could someone please provide some insight to this. "I don't understand what you mean. You'll need to be more specific.
C. You wrote: " Also, *put on tin foil hat* how secure is this? When I access the drive is it writing unencrypted data to the swap file? thanks"To use encrypted swap files, select "Use secure virtual memory" in System Preferences > Security. Depending on the applications you use, there may be a slight performance reduction with encrypted swap.
D. Your questions imply you're new to Mac. While you may be familiar with Linux, there are differences, especially in doing things through the GUI. If that's the case, my "Learning About Mac OS X" FAQ has a number of resources that you will find helpful including books, online training, and more.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X
Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
I may receive some form of compensation, financial or otherwise, from my recommendation or link.

Similar Messages

  • Hard drive is missing. I can boot from the cd but when running the disk utility, no hard drive shows up.

    Hard drive is missing. I can boot from the cd but when running the disk utility, no hard drive shows up.
    This is a problem that suddenly appeared.

    Please post a screenshot of Disk Utility that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • After SN install can't launch Disk Utility from external drive

    I recently upgraded 10.5.9 to SN on my white Macbook. First I used Carbon Copy Cloner to clone the old drive onto the replacement drive in an external enclosure. Then I swapped drives so that the new drive is now the internal drive and the old drive is in the enclosure. I then upgraded the OS on the internal drive via SN installer on DVD.
    Now when I start from the external drive in OS X 10.5.9 and try to launch Disk Utility from this drive I get a weird error message that "Disk Utility can't be launched because it's incompatible with this architecture." The only things I can think of is that Snow Leopard installs something that globally effects all perhipherals (like new disk drivers?), or that there is something in the enclosure's USB bridge which is causing this, or that installing Snow Leopard breaks the PRAM for older versions of OS X. Tech support for the enclosure vendor tells me there is nothing in the enclosure's USB that would cause this. Any insights into what's happening appreciated.

    Thanks for response. Ah, that's it. I was trying to launch it from the applications folder I had dragged to the dock, which was done while running Snow Leopard. That's why (duh!) all the application icons were slashed out. : |

  • How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed.

    How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed but it still kept getting stuck on the apple loading screen.

    You have limited opportunity to attempt to create a backup of your created files.
    That is what the SafeBoot or safemode appears to allow you -- at the moment.
    Since the hard disk drive exhibits signs of failure or other major issues, plan
    on a replacement in the near future. You may be able to get the computer to
    start up in a regular full OS X (not safe mode) but consider its hours are limited.
    An externally enclosed hard disk drive (with own power supply, not relying on
    Mac ports to run it) is a good basic means of which to use a disk utility to make
    a copy or a Clone of the current OS X. This may help retrieve an archive that
    could be used along with a Time Machine backup, to restore your Mac once you
    get a new hard drive installed inside.
    Good luck & happy computing!

  • Disk Utility: No Mac Drive in Internal HDD. Can't format or erase.

    Hey guys, I just got my new mac mini and I installed a Samsung pro 840 SSD. The thing is I messed up. I turned my mac on and everything went fine, Disk Utility showed up telling me that the drive was "unreadable". I decided to turn the thing off and start Recovery so I could install Mountain Lion onto the SSD. When igot to Recovery, disk utility told me there was an error with the drives and it had to erase them, while it was working I got the The Spinning Rainbow Beach Ball of Death so I turned my mac off. Huge mistake it seems. Now when I want to install Mountain Lion there is no available disk to install it. I started Internet Recovery and accessed Disk Utility again and the Internal Drive actually appears but with nothing installed in it. The option to erase or format are not available. I did a disk verification and repair and everything was OK. I'm going crazy over this. Please help me guys!!! I'm leaving a picture so its clearer. THANK YOU!!

    Being a new Mac Mini the system is attempting to create a Fusion Drive setup out of your SSD. Do you have dual drives in the system, the built-in one in addition to the new one you installed?
    This is an issue with the new Mac Mini and iMac systems (see here: http://reviews.cnet.com/8301-13727_7-57584237-263/disk-utility-may-combine-custo m-drive-setups-on-some-macs/) as these systems ship with Fusion Drive setups and Disk Utility assumes this is the desired setup when you use it to "fix" the drives.
    You can see that when you select "Internal Drive" the type is "Logical Volume Group." Since this group is greater than the 840GB, my guess is this is the combined space from your SSD and the built-in one.
    To clear this issue, open the Terminal (from the Utilities menu in the OS X installer), and run the following command:
    diskutil cs list
    You will see a tree of information, with one grouping showing a UUID for the Logical Volume Group (the UUID will be a string of numbers and letters, separated by several dashes).
    With this UUID, run the following command to destroy the logical volume group (you can try copying and pasting the UUID, though I"m not sure if the services in the Recovery HD partition support copy and paste--otherwise just type it in manually):
    diskutil cs delete UUID
    When finished, follow the instructions in the artifcle I linked to above to install OS X to an external drive (if available) and use Disk Utility there to fix and manage the drives, as opposed to the version in the Recovery HD partition.

  • Disk utility/external hard drive failure

    I have a MacBook that I got about two years ago and a Western Digital portable external hard drive (WD Passport) that's almost as old. I keep almost all of my music files on my external hard drive and then play them through iTunes. About a month ago my external hard drive stopped working. I plug the hard drive into my computer and the blue light comes on. It even shines brighter for several seconds as (it appears) the hard drive attempts to mount. But every time I do this the blue light then becomes dimmer and the drive never mounts. When the hard drive is plugged in and I open up the Disk Utility application the drive shows up. When I try to manually mount the disk it tries and fails. When I click "Verify Disk" it tries and then an error message pops up saying "Phase 1-Read FAT, Unable to read FAT (Input/output error)". I've read that the PC disk utility application may be better at reading drives so, once I'm in a place where I have access to a PC, I'm going to give that a try. Does anyone have any other suggestions?

    I am assuming that you're using the Passport in the same USB port that you always have. I ask this because some people complain about USB devices working on one port but not the other, as they claim that one port may put out more voltage then the other. If this is happening in your case it would kinda make since as when you plug in the Passport all that is required is the logic board power then it will start to spin up the disk which will pull down the power and that may be why you're getting a dimmed light on the Passport.
    Just try the other USB port to verify, I know it sounds silly but it's worth a shot.

  • Disk Utility BUG SOLVED @@ COME AND READ @@.

    On some of the older imac and mac books some of your may have problems using the restore tab in disk utility.
    You are unable to drag the disk to the last slot.
    I figured it out today.You don't have to install any third party software or use any terminal thingy.
    Ok
    So you launch disk utility and go to restore tab and you drag your dmg file or whatever on the first slot and you can't drag anything into the second one.I want you to drag it from the left hand side, On your desktop for example your usb thumbdrive is call MAC1 but dragging it from desktop to disk utility will not work.I want you to find MAC1 or whatever you use on disk utility on the left and drag it into the box.This will work.You can go on can try restore now@@@@.
    If they say error 16 or something i want to you to unmount anything you have mounted and try restore again.it should work now.
    If it doesn't work i can't help you
    But anyway this works best with usb.So have fun

    There is no bug. The instructions specifically say to drag the disk from the list to the left!
    Dah•veed

  • Disk utility states: This drive has hardware problem that can't be repaired, backup and replace disk.

    iMac is within warrenty.

    quince88 wrote:
    Sorry running 10.6.8, did everthing except Restore Vol, including Tech Tool Deluxe with Drive Hardware test 'Failed' and under Disk Utility S.M.A.R.T. status 'Failing.'  I am in Thailand so off to the Apple people on Sat. Thanks for the help.
    I think that is a wise choice!
    Good luck and btw I hope you have a good backup, if you do use Setup Assistant to restore so you can pick up from where you left off. You should use Pondini's Snow Leopard Setup Assistant tips it will show exactly what needs to be done. If the Apple people are going to install SL for you make sure you give them your backup so they can restore for you.

  • My MacBook Pro 13 inch makes a clicking noise from the hard drive and can not start up in safe mode and normal. I then ran disk utility in recovery mode and disk utility shows no problems with the hard drive. What is the problem?

    Please help me, I have a mid 2010 Mac book pro with a toshiba mk3266gsxf harddrive. It started making a clicking noise and then my computer crashed. I proceeded to boot in safe mode, but it doesn't work. When I ran disk utility in recovery mode, it showed no problem with my disk. Does any one know what the problem is?

    Sounds like a mechanical problem with the drive and it ruined the sectors where the Macintosh HD partition (and OS X, and files and programs) reside, but not your Recovery HD partition.
    If you held command option r while booting, that's Internet Recovery and it's loaded via the Internet, not via the Recovery HD partition on the boot drive, so that could mean the drive is dead mechanically or there is another issue.
    In either case the drive will likely have to be replaced, it's a matter of what occured to where and the drive state if you can recover data or not. If you made recent backups then your fine.
    My computer is not working, is my personal data lost?
    Most commonly used backup methods

  • Hard drive absent in disk utility - want to erase and reinstall MacOS

    Hi there. Any help would be most gratefully received.
    I have a Power Mac G5 Dual 2Ghz with 2GB RAM, one internal HDD (250GB serial ATA 7200rpm - the original one), two external HDDs and a Philips 170B display, running (or not) MacOS 10.39.
    It was working fine yesterday but on startup this morning it hung for a while on the grey Apple logo and progress "clock" then froze on a blue screen.
    I tried removing all cables except display and keyboard/mouse and restarted a few times but to no avail.
    I tried entering safe mode but it wouldn't work. Upon subsequent attempts at startup it took me (instead of the blue screen) to the flashing question mark/finder folder screen.
    I then booted from my install CD and tried to run Disk Utility to repair the disk. Disk Utility recognised the disk and allowed me to select it. But when I tried to verify it, it failed and told me to repair. When I tried to repair it told me "invalid b-tree node size".
    I then tried running the Apple Hardware Test CD. It found no faults at all in the full test of the system.
    All of my data is stored on my external HDDs so my next thought was to erase the internal HDD and reinstall my software. (I use the Mac solely for Video editing and the only applications I have installed - in addition to all the basics - are the Apple Production Suite.)
    However, this time when I booted from the install CD, Disk Utility would not recognise the internal HDD. The only thing I had done since it had recognised it the last time was to run the Hardware tests. In addition, since running the hardware tests, the HDD started making a strange noise whenever the Mac was on - like clicking with almost beep-like access noises.
    The last time I tried restarting and booting into Disk Utility, the clicking began again and then eventually stopped. But still no evidence of the drive in Disk Utility.
    Soooooooooo. I don't need to save any data on the hard drive. I have all my software and OS discs. I just want to wipe the drive and start afresh (assuming this is the best course of action?). But I am unable to do so because of this new development in my attempts to fix the problem: the unrecognised hard drive (coupled with the strange noises).
    If you have any ideas, please do get in touch. I'm pretty broke at the minute and I'm trying to find a solution without having to purchase a new drive. Obviously, if this is the only solution, then I'll have to bear that cost. But since it has recognised the disk just a few steps before, I'm hoping there's a way back.
    Yours in optimism

    I am not sure about battery, I still use G4 MDD which is unplugged for months, was always off at night (UPS was off) and still works.
    But I would always use both SATA drive bays, and I think you need to invest in one or two new drives.
    For now, try disconnecting your drive and see if you can boot from external drive and CD/DVD.
    Also see if you can get into Open Firmware.
    Resetting PMU would also be worth while when you get in to disconnect your hard drive (I think 3 yrs is more than enough for any OEM drive, too).
    http://www.apple.com/support/powermac/

  • Using Disk Utility to partition drive

    After downloading a system update yesterday my mac mini hard drive is no longer bootable. The recovery HD is unbootable, too.
    When I boot up using the install CD I can run Disk Utility and see that there are no problems reported with the hard drive, but I cannot repair permissions (No valid packages).
    If I restore the operating system from the CD my only option is to erase the hard drive.
    But what if ...
    I create a new partition using Disk Utility?
    There's loads of free space on the drive, but if I attempt to create a new partition will I wipe out existing data?
    If I succeed in creating a new partition would I be able to restore the operating system there without erasing the hard drive?
    Would it be possible then in some way to restore my user account data?
    I'm just trying to avoid the hassle of re-installing my applications and recovering my data files from backup. It seems like the data is still all there on the hard drive except that something went wrong during the system update that renders the disk unusable.
    Any help appreciated.

    Yep, that is too old...
    Mac mini
    Mac OS X Install Disk 1
    Mac OS X version 10.4.7
    AHT version 3A102
    Disc version 1.1
    2Z691-5887-A
    Mac OS X Install Disk 2
    Disc version 1.0
    ZZ691-5860-A

  • Disk Utility create encrypted disk image hangs

    I'm trying really, really hard to backup my data but apple is not making it easy for me.
    I need my files encrypted for an offline backup. Time machine only allows home folder to be encrypted, and due to my home folder being on my SSD drive I cannot fit my files all in there, not by a long shot.
    Using Disk Utility, I choose "new disk image from folder", and select "read only", 256-bit encryption. Some of the folders worked. However some will just hang for hours on "Creating Image, copying...". I can see at the destination the dmg file has stopped incrementing larger. It has reached the full size of the folder approximately. Does apple fail at some file types? I already ran disk repair several times to no avail. I don't know what else to try, it just doesn't want to work. All I want is an encrypted backup, that any OSX install can retrieve without any special software involved. Sometimes I'll get a very unhelpful error message "Operation not supported". Whatever that is supposed to mean. Google was no help so hoping for some insights here.

    Create an encrypted sparse disk image instead of from folder, mount it, and then drag & drop your files into ii.

  • Share a Hard Drive with Multiple Drives and Users

    Background: I have an Airport Extreme (4th Generation) with two external hard drives connected via USB 2.0 and USB hub. I have Airport Utility setup to allow access to both drives via user accounts and passwords. From what I have gathered the way in which the user accounts and passwords work is the Airport Extreme makes two directories at to root level of the hard drive, 'Users' and 'Shared'. All files located in the 'Shared' directory are available to all user accounts setup in Airport Utility. Within the 'Users' directory are sub-directories named for each user account that is setup. All files located within the user directories are available to each respective user.
    My trouble is the ability to see both the 'Shared' folders and the respective user folder when I authenticate with a user account. I am able to see the files in the 'Shared' directory on each of the two disks but it seems I am only able to see one of the user account directories and files.
    Questions: My two questions are:
    1) Is my understanding outlined above correct?
    2) How might I be able to see the user directory on both disks as well as the 'Shared' directory on both disks.
    I am hoping to still be able to use user accounts to access the disks as I have multiple people who store their files.

    It didn't.  After a night of testing, I found that I could get the router to at least let me create shares if I partitioned it as an MBR drive (GPT would not work at all), but it would not even rcognize a partition sized to 2TiB (tebibytes, 2048 GiB) or even one sized to 2TB (terabytes).  The most it would recognize through my trial and error was about 1.5TiB, which I found odd.
    This setup would have been too onerous, as it would have made about 746GiB completely unusable on the drive (outside the largest area referenced by an MBR partition table), and I would have had a main partition for files and one that would be invisible to the router (it only read the first partition, obviously).
    So luckily, Best Buy took the external hard drive back with no restocking fee (the WD My Book Essentials 3TB is on sale at $150 there if anyone is interested).  I ended up just getting a Synology NAS enclosure and 2 2TB hard drives.  I'll get those on Thursday (hopefully).

  • Disk Utility reports "resource busy" and can't create an disk image

    HI,
    Just succesfully updated to Mountain Lion on my MBA and iMac. No problems. A very smooth proces.
    But, on my iMac the Disk Utility are not able to create new images at all! I'm not sure if this relates directly to the update, as
    DU works fine on the MBA.
    I have tried to create a simple disk image from a folder, sparse bundle disk images and sparse disk images - with and without encryption.
    They al gave this output from DU: "Unable to create "MYDiskImage.sparsebundle." (Resource busy).
    I understand from other postings on the web that others have experienced the same message from time to time, but have not seen a fix for it anywhere.
    I can see the "disk iamge" in the DU window (left pane) but are not able to locate it with Finder or on the computer anywhere, but are even able to "repair the
    disk image with DU, but then there is actually no disk image when trying to locate it. Very strange.
    Any help?
    The DU log has this info:
    1. Creating a sparsebundle
    2012-08-01 07:46:16 +0200: Creating Image “MyDiskImage.sparsebundle”
    2012-08-01 07:46:16 +0200: Initializing…
    2012-08-01 07:46:16 +0200: Creating…
    2012-08-01 07:46:27 +0200: Formatting…
    2012-08-01 07:46:28 +0200: Finishing…
    2012-08-01 07:46:29 +0200: Unable to create “MyDiskImage.sparsebundle.” (Resource busy)
    2012-08-01 07:46:29 +0200:
    2012-08-01 07:47:01 +0200: Verify and Repair volume “disk3s2”
    2012-08-01 07:47:01 +0200: Starting repair tool:
    2012-08-01 07:47:01 +0200: Checking file system2012-08-01 07:47:01 +0200: Checking Journaled HFS Plus volume.
    2. Creating a disk image from a folder
    2012-08-01 07:59:10 +0200: Creating Image “Parallels køb juli 2012.dmg”
    2012-08-01 07:59:10 +0200: Initializing…
    2012-08-01 07:59:11 +0200: Creating…
    2012-08-01 07:59:20 +0200: Finishing…
    2012-08-01 07:59:21 +0200: Unable to create “Parallels køb juli 2012.” (Resource busy)
    2012-08-01 07:59:21 +0200:

    Hi Darth,
    Thanks for the suggestion. Somehow I managed to solve the issue (the question was posted in July), I  think I restarted the computer a couple of times, but it's interesting that you mention Drive Genius and Drive Pulse, as I also had that app running!
    Maybe Drive Pulse was also turned of here in my process and helped to solve the issue.
    Anyhow, thanks.

  • Disk Utility - Create encrypted disk images super sloooow

    Trying to create encrypted disk images via Disk Utility on my iMac (i7 8GB) is super-slow in 10.8.   It worked quite fast in 10.7, but now it's super-slow and doesn't even seem to ever finish.
    I've tried re-installing 10.8 with no difference.
    Anyone else having trouble with this?  Even a small dmg (~200MB) doesn't seem to work.
    Unencrypted images seem to work OK (if not a little slow).
    I realize that the encryption process will be slower but something is definately wrong with 10.8 disk utility in this regard.  I have 1TB+ free space.  I have tried with another user account as well.
    My task was: (new disk image, read-write, 128bit encryption)
    2012-09-03 08:59:59 -0400: Initializing…
    2012-09-03 09:00:00 -0400: Creating…
    2012-09-03 09:03:28 -0400: Copying…  <<< seems to be stuck here...

    Good morning,
    Have you tried using Disk Utility from within the recovery mode? (Hold down CMD and R when booting)
    I used to have this problem but creating them this way really improved the time.
    Give it a go...
    Rob

Maybe you are looking for

  • Connecting to database in studio 8

    I tried to follow the tutorial at http://www.adobe.com/devnet/coldfusion/articles/connecting_database.html. I'm used to asp and asp.net but I'm tring to get into cold fusion. When I specify the database file as described in the tutorial, the tables c

  • No support for fuji x, no support for dp merrills, no nikon d7100 ( probably to early)

    I am really wondering if Apple will end develop aperture in the future. Adobe is so much faster and recently also capture one has overtaken aperture in terms of raw support. a kingdom for a good support of foveon files.

  • ODI 10g Union,Union All,Minus

    Hello, I have to use union,union all or minus set on ODI 10.But it doesn't have uninon,union all minus data set like in ODİ 11.How can ı use union statement in odi 10 g?For example I have to union 6 table in odi 10g.How it can be ? Thnx a kot

  • CRM aspirant

    Hi, This is kishore : JAVA  developer(4 years exp) , intersted in learning SAP CRM. Can you please let me know what are the basic technical skills required for SAP CRM.

  • Relating int's to string

    how would i relate an int to a string. so for example, if i were playing a game where i have a row of 6 stars then i prompt the user for a number to remove stars(i can do this) say he says 4 how would i make it so then i could change that to **