hdiutil permissions error

Matthew Metzger news at metzger.cc
Tue May 1 14:18:02 PDT 2007


Dan Shoop wrote:
> At 3:58 PM -0500 4/26/07, Matthew Metzger wrote:
>> Hello,
>>
>> here's a little puzzle that I haven't been able to understand. I had 
>> been using the "hdiutil" program to backup folders and files that were 
>> read/write -everyone permissions. I have had to change those 
>> permissions to limit access. After I changed permissions, my backup 
>> command stopped working and gave this error: (the command is first, 
>> the error after that).
>>
>> -------
>> sudo hdiutil create -ov -anyowners -srcfolder "/Users" -format UDZO 
>> -volname "$date" /Volumes/BackUP01/Users/$date.dmg
>>
>> Password:
>> ....................................................................................................................................2007-04-24 
>> 09:31:26.143 copy-helper[9409] 
>> bomCopierFileCopyError:/Users/./sysadmin/Desktop/Safari.app, error 5
>> 2007-04-24 09:31:26.143 copy-helper[9409] Error 5 (Input/output error) 
>> encountered copying "/Users/Users/./sysadmin/Desktop/Safari.app" 
>> (canceling)
>>
>> could not access /Users/./sysadmin/Desktop/Safari.app - Input/output 
>> error
>> hdiutil: create failed - Input/output error
>> -------
>>
>> Any help in figuring out why the error is happening would be very 
>> helpful. I'm using sudo, so I assumed that that would override any 
>> permissions issues.
> 
> It's not a permissions issue, as it states it's an I/O error. Fix yoru 
> filesystem.


Thanks for the tip Dan. There was a problem with the file system. I 
booted from an install CD and ran Disk Utility -> Repair Disk. I had to 
run it twice. The first time it fixed some errors, but not all. I was a 
bit worried, but I ran it again and Disk Repair was successful in fixing 
all the errors.

thanks again,

Matthew



More information about the MacOSX-admin mailing list