LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions not Working Appropriately (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-not-working-appropriately-4175604612/)

scottm7 04-25-2017 07:51 PM

Permissions not Working Appropriately
 
3 Attachment(s)
I'm setting the permission for my user(myself because it is the only one) and it isn't working right.

The images should explain what I'm seeing:

- user01docs is the drive in question.
- root can see the files and folders fine
- user01 cannot see any files or folders
- when looking at the permissions for the drive as root, permissions show that it belongs to user01

At this time, I have opened the drive as root and am copying all the files to another 6TB volume where the permission are working just to ensure that I have access if needed. If I can't figure this out, I will end up reformatting the other drives and copy everything over with the line command (cp -r <source> <target>) as user01.

scottm7 04-25-2017 07:55 PM

I figured out the problem.

I had a bookmark to a folder that no longer existed on user01docs. When I removed the bookmark, I was able to see everything in user01docs with the current permissions.

frankbell 04-25-2017 08:01 PM

It may be that the device is being mounted with root ownership, which would keep user from accessing its contents. Try safely removing and replacing the device. Also,

What is the output of ls -l when run on the user1docs partition and on a representative sample of files and directories?

It is likely that you can access the partition by opening a terminal and cd-ing to /run/media/[username] if your distro is of recent vintage.

Be sure to surround any terminal output with "code" tags, which become available when you click the "Go Advanced" button at the bottom of the "compose post" window.

scottm7 04-25-2017 08:27 PM

Hi frankbell,

Thank you for the reply. I didn't want to be rude and ignore you. You were most likely typing your reply while I was typing mine. I had worked on it for nearly an hour and I became somewhat concerned.

The users on this board are extremely helpful and prompt with replies! It's amazing - free OS, helpful and quick replies, no activation, fast speed, greater speed and reliability, etc..., etc... I should have switched to Linux a long time ago.


All times are GMT -5. The time now is 02:02 PM.