Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yurki

macrumors newbie
Original poster
Feb 14, 2009
7
0
What I did
- Used Carbon Copy Cloner to copy all files from a whole external disk back to my just formatted 4TB hdd.
(CCC should be the same as copying files in finder manually. I didn't use the Time Machine interface to restore because I'm using my hdd in my new mac and I was paranoid for it to delete my old backups...)

The problem
- Everything was copied and works fine except there seems to be a problem with permissions: I have to type in my password every time I want to create a new folder (both on the root as in any other folder) and I can't simply write a file to the disk from for instance textedit.

What I tried
- Get Info: set the permissions on admin, staff, [username](me) to read & write. --> "apply to enclosed items..."
- Get Info: Ignore ownership on this volume.
- Terminal: "sudo chown -R [username] ."
- Terminal: "sudo chown -R [username]:staff ."
- Terminal: whoami
gives back: yarck. (Which is my [username])
- Terminal: sudo chown -R yarck:staff /Volumes/DATA
- Disk Utility: Run first aid.
All seems fine.
- There is no 'repair permissions' function in el capitain and above. Also not for external hd's.

Some extra info
macos 10.14.6 Mojave

[username] = yarck

Terminal: ls -la Gave the following:
drwxrwxr-x+ 25 yarck staff 918 Jan 24 19:05 .
drwxr-xr-x+ 12 root wheel 384 Jan 24 23:54 ..
-rw-rw----@ 1 yarck staff 32772 Jan 2 22:00 .DS_Store
drwxrwx---+ 5 yarck staff 170 Jan 18 22:59 .Spotlight-V100
d-wx-wx-wt+ 3 yarck staff 102 Jan 18 22:59 .Trashes
-rw-rw----@ 1 yarck staff 181 Jan 3 00:29 .com.apple.backupd.mvlist.plist
drwxrwx---+ 1593 yarck staff 54162 Jan 24 22:55 .fseventsd
drwxrwx---@ 15 yarck staff 510 Jan 10 2013 Library_live8
drwxrwx---@ 17 yarck staff 578 Mar 12 2011 Library_windows
drwxrwx---@ 68 yarck staff 2312 Jun 6 2019 Reaktor 5
drwxrwx---@ 34 yarck staff 1156 Aug 7 22:19 User Library
drwxrwx---@ 15 yarck staff 510 Aug 13 23:53 archief_geluid
etc...

Thanks for any help!
 
First -- if you used CCC, you DID NOT DO a "time machine restore". (as the thread title claims)

Did you "re-clone" from the backup to the internal drive?
Or did you "manually copy using the finder"?

Different methods produce different results.

If you're copying files back "from the finder", you left out an important step.
That step is:
a. Connect the backup drive, mount its icon on the desktop
b. Click on the icon ONE time to select it, then bring up the "get info" box ("command-i")
c. At the bottom of get info, click the lock and enter your password
d. Put a checkmark into "ignore ownership on this volume" (sharing and permissions)
e. Close get info.

NOW you can copy files, and the copied files automatically "fall under the ownership" of the account into which you're copying them.
 
  • Like
Reactions: yurki and lgjay
Fishrrman,
thank you for your help! Sorry for the late reply.
I had no idea you had to do this, I'll do it next time, or just do a restore with the time machine gui.
But I still don't understand why you can't fix this problem and take ownership of the copied data afterwards

Meanwhile though, before you replied, I tried a less pretty method:
Removing the backup on the time machine disk, backing up the problematic disk again with time machine, format the data disk and restore the backup with the time machine gui to it.

Now the taking ownership part was done correctly apparently because it all works now. Maybe not the prettiest solution, but it worked...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.