Change permissions

CmdrLaForge

macrumors 601
Original poster
Feb 26, 2003
4,374
2,447
around the world
Hello,

I do have trouble accessing folders on my others machine time machine backup. I do not have access permissions and I do have trouble changing them. My username and passwd are different on the other machine.

In Terminal I tried:
sudo chown myusername foldername

And I get back
Operation not permitted

In the Finder INFO window I cannot change the permissions either. Any idea what to do ? Needs some Geeks here !
 

keysofanxiety

macrumors G3
Nov 23, 2011
9,467
24,214
It might be worth trying to change the permissions through your other machine. So when you go to Get Info on the other Mac, add permissions for 'everyone' to read/write. Hopefully it might be as simple as that.

Alternatively, you could check the warp nacelles or eject the core. That usually worked on TNG. :D
 

rshrugged

macrumors 6502a
Oct 11, 2015
895
627
I'm not clear on if you need to change permissions. Just in case you haven't done this which results in using the TM UI for access --
Try right-clicking on the TM dock icon, or click on the TM icon in the menu bar and press *option* (or alt) on your keyboard. After doing either, click on Browse Other Backup Disks.
 
Last edited:

KALLT

macrumors 601
Sep 23, 2008
4,921
3,003
You should never manipulate files on a Time Machine volume. OS X has mechanisms to stop you from doing that. If you want to change permissions, then you have to change the source and then let Time Machine record the changes. If you need to import directories or files, then you can use the restore function in the Time Machine application or tmutil and change the permissions as needed. Accessing another device’s Time Machine backup can be accessed as described by rshrugged.
 

CmdrLaForge

macrumors 601
Original poster
Feb 26, 2003
4,374
2,447
around the world
The Mac that used that external HDD is gone for good. I need to retrieve files from that time machine but do not want to get all the user data back. Actually I only need my emails from my local Mail mailboxes.

Also the disc is encrypted but of course I have all the old passwords.
 

KALLT

macrumors 601
Sep 23, 2008
4,921
3,003
The Mac that used that external HDD is gone for good. I need to retrieve files from that time machine but do not want to get all the user data back. Actually I only need my emails from my local Mail mailboxes.
As I said, you can restore individual directories or files. Open the Time Machine application, navigate to the directory, right-click -> 'Restore to'.
 

Floris

macrumors 68020
Sep 7, 2007
2,381
1,451
Netherlands
chown takes username:username

go to a dir where you made a file as that user, so you can tell in terminal how it looks normally with ls -all

example:

-rw-r--r--@ 1 floris staff 8520 Jan 23 2016 vbirc_pubcmd.tcl

if you want your file to be like that:

chown floris:staff vbirc_pubcmd.tcl