LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2013, 12:59 PM   #1
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,096

Rep: Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744
Slack14- Chown doesn't fix /media mount access


Greetz
I searched some older threads first and decided from them to post a new thread since automounting seems both in flux and some conflicts may exist between different parts of the system.

I have some disks that I only access rarely so unfortunately I don't know when this occurred or what changed. All I know is that an NTFS partition, labeled HUGE_NT, used to be accessible by me as the sole user of this box, both as root and as user.

Now, not only can only root and not user access it, but root can't seem to change permissions on it. I've tried

Code:
 chown user:group -R /media/HUGE_NT
and yet the root:root permissions persist, and stubbornly resist becoming user:group.

What has control over these permissions and how is it that root can't alter them, at least within the /media directory?

EDIT: What may be worse is that when user tries to access the partition a window pops up asking for unspecified permission... that is to say it does not ask for root password or user password, just authentication, and both passwords fail. Frustrating.

Last edited by enorbet; 12-19-2013 at 01:11 PM.
 
Old 12-19-2013, 01:52 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,612

Rep: Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618Reputation: 2618
That _does_ sound weird. From my Slackware 14 box (same situation as you re users)
Quote:
bash-4.2$ cat /etc/group |grep disk
disk:x:6:root,adm,dec
usermod -aG disk user

is the appropriate syntax. Then add them in /etc/fstab witn the 'user' option. If root can't access it, check dmesg for what's going on. Perhaps a file system issue, or you have tightened security, in which case the tight security is working:-). Root should be God on your system. It may need inserting into a windows box to check the disk filesystem. And you are mounting it ntfs-3g?
 
Old 12-19-2013, 02:39 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://www.linuxquestions.org/quest...issions-35729/
 
Old 12-19-2013, 05:48 PM   #4
enorbet
LQ Guru
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 5,096

Original Poster
Rep: Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744Reputation: 4744
Greetz
Well of course that worked. Thank you Habitual. We used to have to declare all mounts back in the day but I'd since read that HAL/Udev/.. didn't like that. Since it just worked, I lived with it, though preferring specific declaration. Apparently this is some recent issue with ntfs-3g? As I said, it used to work just fine, now it does again. I surely hope all this reinventing the wheel, rule changing is worth it.
 
  


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
[SOLVED] Slacke17 does or doesn't work on slack14.1_64 running on an Acer Aspire 5100? liltux Slackware 12 01-06-2014 10:52 PM
accidently changed chown to entire slack14 filesystem WiseDraco Slackware 16 04-06-2013 12:45 PM
Patch help request to Restore mount to /media vs /run/media lkraemer Slackware 1 10-13-2012 06:35 PM
I cant access my other XP drive in openSUSE 11.0, I tries mount but it doesn't work moi3333y Linux - Newbie 7 06-24-2009 08:19 AM
mount /media/cdrom doesn't work HDD Linux - Hardware 4 03-05-2004 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration