LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2017, 07:51 PM   #1
scottm7
Member
 
Registered: Apr 2017
Posts: 31

Rep: Reputation: 30
Permissions not Working Appropriately


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.
Attached Thumbnails
Click image for larger version

Name:	user01docs-as-root.png
Views:	4
Size:	62.0 KB
ID:	24847   Click image for larger version

Name:	user01docs-permissions.png
Views:	6
Size:	40.2 KB
ID:	24848   Click image for larger version

Name:	user01docs-as-user01.png
Views:	6
Size:	59.9 KB
ID:	24849  
 
Old 04-25-2017, 07:55 PM   #2
scottm7
Member
 
Registered: Apr 2017
Posts: 31

Original Poster
Rep: Reputation: 30
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.
 
Old 04-25-2017, 08:01 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,453
Blog Entries: 25

Rep: Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449Reputation: 4449
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.
 
1 members found this post helpful.
Old 04-25-2017, 08:27 PM   #4
scottm7
Member
 
Registered: Apr 2017
Posts: 31

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to edit vars appropriately. sryzdn Linux - Newbie 3 02-05-2014 11:39 AM
Servers not routing email appropriately DrStrangepork Linux - Server 2 09-03-2009 08:34 AM
help setting up ssh logging appropriately joe2748 Linux - Server 2 12-18-2007 12:58 PM
Mail -s command not working appropriately dphe Linux - Software 3 01-09-2007 12:13 AM
NEED HELP - - Yum is not executing appropriately purple.moon.man Fedora 2 09-06-2005 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration