2

Since my Mac crashed and does not boot OS X at the moment, I am trying to recover some data from my user folder in OS X from within of Ubuntu.

Usually I have no problem accessing the files. But not this time.

I have stumbled upon these really strange permissions and I cannot change them. What are these?

Using sudo chmod... and sudo chown... is not possible and I get a message saying: (translated) no access possible: input/output error

enter image description here

d????????? ? ?    ?     ?            ? matthias
0
2

When you don't have permission to a folder in Ubuntu (and various other Linux OSs), you will get d?????????.

To recursively fix the permissions, use this command:

chmod -R a+rX matthias

From this answer on Ask Ubuntu:

To read a file, its read permission needs to be set. However, to read a directory and the listing of its files, both the read and the execute permissions need to be set. If they aren't, you get weird errors like the ones you're experiencing.

8
  • This doesn't explain the ??? @gentmatt is seeing. – nohillside Aug 11 '13 at 11:03
  • @patrix "both the read and the execute permissions need to be set. If they aren't, you get weird errors like the ones you're experiencing." …? – grg Aug 11 '13 at 11:04
  • Is this Ubuntu-specific? I get d--------- for directories I don't have access to under OS X. – nohillside Aug 11 '13 at 11:11
  • @patrix Yes, I believe it is, or at least maybe Linux-specific… My RPi also shows ??? for no permissions when I try to access certain folders on my Mac over the network or drives plugged in (in which case I do a chmod -R a+rX <directoryname>). – grg Aug 11 '13 at 11:15
  • Oh sorry, I should have mentioned that I have tried using chmod and chown with sudo - but it in both cases I get the message: (translated) no access possible: input/output error – gentmatt Aug 11 '13 at 11:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .