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:
Thanks for any help!
- 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...
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!