Time Machine restore problems (permissions)

Please post questions or problems regarding the use of Time Machine with the ReadyNAS here. Easy Time Machine Setup with the ReadyNAS

Time Machine restore problems (permissions)

Postby jukkaforss » Sat Dec 17, 2011 6:25 am

Hi,

I am making Time Machine backups to my Ultra 4 (RAIDiator 4.2.19).
Backups are working fine, but I can't access my backups to restore data.

When I press Enter Time Machine, OS X mount Time Machine backup correctly.
I can go Backups.backupdb directory, but not able to go Server_Name directory (No permissions)

Server-Name:Backups.backupdb root# ls -al
total 16
drwxr-xr-x+ 5 root _unknown 204 Dec 17 14:25 .
drwxr-xr-x 6 _unknown _unknown 374 Dec 16 23:28 ..
-rw-r--r--@ 1 root _unknown 6148 Dec 17 14:25 .DS_Store
drwx------ 2 root _unknown 68 Dec 17 01:38 .spotlight_repair
drwx------ 2 root _unknown 68 Dec 17 14:21 .spotlight_temp
drwx--x--x@ 34 root _unknown 1190 Dec 17 14:21 Server Name

If I try to add read permissions to Server Name directory, I get Operation not permitted

Server-Name:Backups.backupdb root# chmod og+r Server\ Name/
chmod: Unable to change file mode on Server Name/: Operation not permitted

If I use sudo in terminal to be root and go inside of Server Name directory, I see my backups correctly.

drwxr-xr-x@ 3 root _unknown 204 Dec 17 01:40 2011-12-17-014030
drwxr-xr-x@ 3 root _unknown 204 Dec 17 10:20 2011-12-17-102030
drwxr-xr-x@ 3 root _unknown 204 Dec 17 12:53 2011-12-17-125335
drwxr-xr-x@ 3 root _unknown 204 Dec 17 13:22 2011-12-17-132208
drwxr-xr-x@ 3 root _unknown 204 Dec 17 13:42 2011-12-17-134212
drwxr-xr-x@ 3 root _unknown 204 Dec 17 13:43 2011-12-17-134355
drwxr-xr-x@ 3 root _unknown 204 Dec 17 13:50 2011-12-17-135000
drwxr-xr-x@ 3 root _unknown 204 Dec 17 14:03 2011-12-17-140334
drwxr-xr-x@ 3 root _unknown 204 Dec 17 14:21 2011-12-17-142101
drwxr-xr-x@ 3 root _unknown 204 Dec 17 15:22 2011-12-17-152213
lrwxr-xr-x 1 root _unknown 17 Dec 17 15:22 Latest -> 2011-12-17-152213

Inside of ReadyNAS same looks like this:

readynas:/c/.timemachine# ls -al "Server Name.sparsebundle"
drwx--S--- 4 ReadyNAS nogroup 4096 2011-12-17 15:18 Server Name.sparsebundle
readynas:/c/.timemachine# cd "Server Name.sparsebundle"
readynas:/c/.timemachine/Server Name.sparsebundle# ls -al
total 336
drwx--S--- 4 ReadyNAS nogroup 4096 2011-12-17 15:22 .
drwxr-xr-x 9 ReadyNAS root 4096 2011-12-17 15:22 ..
drwx--S--- 2 ReadyNAS nogroup 4096 2011-12-17 14:06 .AppleDouble
drwx--S--- 3 ReadyNAS nogroup 311296 2011-12-17 15:21 bands
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.bckup
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.plist
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.bckup
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.plist
-rwx------ 1 ReadyNAS nogroup 0 2011-11-22 00:06 token
readynas:/c/.timemachine/Server Name.sparsebundle#

Does anyone know how to fix this?
jukkaforss
ReadyNAS Newbie
 
Posts: 16
Joined: Sun Sep 13, 2009 3:04 am
ReadyNAS: Ultra

Re: Time Machine restore problems (permissions)

Postby mdgm » Sun Dec 18, 2011 5:55 am

From looking at my NAS, I think the permissions on the following four files are wrong:
Code: Select all
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.bckup
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.plist
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.bckup
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.plist

There should be rw (not executable for the owner), read privileges for the group and read privileges for everyone on those files.

I would suggest disabling Time Machine on your Mac, correct these permissions and then try accessing your backup again.
Useful links: My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How we users can contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
User avatar
mdgm
ReadyNAS Enthusiast
 
Posts: 28568
Joined: Tue Feb 17, 2009 9:34 pm
Location: Down Under
ReadyNAS: RN312

Re: Time Machine restore problems (permissions)

Postby jukkaforss » Sun Dec 18, 2011 7:43 am

mdgm wrote:From looking at my NAS, I think the permissions on the following four files are wrong:
Code: Select all
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.bckup
-rwx------ 1 ReadyNAS nogroup 445 2011-12-17 14:06 com.apple.TimeMachine.MachineID.plist
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.bckup
-rw------- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.plist

There should be rw (not executable for the owner), read privileges for the group and read privileges for everyone on those files.

I would suggest disabling Time Machine on your Mac, correct these permissions and then try accessing your backup again.


Hi,

I changed that.


-rw-r--r-- 1 ReadyNAS nogroup 445 2011-12-18 16:05 com.apple.TimeMachine.MachineID.bckup
-rw-r--r-- 1 ReadyNAS nogroup 445 2011-12-18 16:05 com.apple.TimeMachine.MachineID.plist
-rw-r--r-- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.bckup
-rw-r--r-- 1 ReadyNAS nogroup 499 2011-11-22 00:06 Info.plist


But no change of this inside spersebundle directory, and not even root permissions to change it.

macintosh-5:Time Machine -backups jukka$ cd Backups.backupdb/
macintosh-5:Backups.backupdb jukka$ ls -al
total 0
drwxr-xr-x+ 5 root staff 170 24 Mar 13:34 .
drwxr-xr-x 6 jukka staff 374 16 Jou 23:53 ..
drwx------ 2 root staff 68 24 Mar 13:34 .spotlight_repair
drwx------ 2 root staff 68 18 Jou 16:34 .spotlight_temp
drwx--x--x+ 16 root staff 578 18 Jou 16:34 Server Name
macintosh-5:Backups.backupdb jukka$ sudo chmod og+r Server\ Name/
Password:
chmod: Unable to change file mode on Server Name/: Operation not permitted
macintosh-5:Backups.backupdb jukka$
jukkaforss
ReadyNAS Newbie
 
Posts: 16
Joined: Sun Sep 13, 2009 3:04 am
ReadyNAS: Ultra

Re: Time Machine restore problems (permissions)

Postby harsh_iet » Thu Jun 14, 2012 12:34 pm

Were you able to resolve it? I am facing the same issue.
harsh_iet
ReadyNAS Newbie
 
Posts: 1
Joined: Thu Jun 14, 2012 12:32 pm


Return to Time Machine



Who is online

Users browsing this forum: No registered users and 5 guests