Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I recently sold my mac, and before doing so I put its files on an external HDD. Now I'm using Linux to move those files to a larger HDD, but some folders still retained some residual mac permissions, so I want to make all the HDD's files and directories as openly accessable as possible. So I opened up the terminal and executed [no runtime errors]:

su; cd /file_system_root; chown -R nicholas:users .; chmod -R a=rw .;

But now as I'm logged into XFCE as nicholas, I get "permission denied" when I try to access folders in the root directory (i.e. "/unaccessable_folder"), and I'm confused as to why.

I've tried ejecting and re-mounting the HDD, and explicitly chown'ing and chmod'ing the folder that the HDD is mounted ("/run/media/nicholas/hdd_id"), but neither affected the problem.

(I'm running openSUSE 12.3; the drive is ext4 formatted, 3TB, and has a "lost+found" folder in its root directory.)

share|improve this question
1  
What permissions do the files have? Show us the output of ls -l on a few of them. Also, how are you mounting the drive? Permissions can be set on mount as well. –  terdon Sep 26 '13 at 16:26
add comment

1 Answer

up vote 1 down vote accepted

Folders need have to have the executable bit set for you to be able to open them. This explains the details better then I could. http://stackoverflow.com/questions/3740152/how-to-set-chmod-for-a-folder-and-all-of-its-subfolders-and-files-in-linux-ubunt

share|improve this answer
    
Wow! Like magic! Thank you :3 –  Nick Chandoke Sep 26 '13 at 16:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.