SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I originally sought help with this at suseforums.net but without successful solution. My problem is that I have a USB external harddrive that mounts successfully but does not give users access (only root). The device is dev/sda1. The drive is formatted as NTFS which shouldn't pose a problem for read access -- yet despite my attempts to change the permissions, only root has read access.
It was suggested this had something to do with the subfs (which I am not clear on). Is there a solution to this so users can have access to this drive when it is plugged in?
See my attempt to access below in the /media directory. "BACKUP" is the volume label for the USB HD in question:
To answer the previous poster I haven't tried changing permissions on anything as my understanding is that the permissions say I should have access. Either way I am not too sure what files I should change permissions on.
Unfortunately no luck. See a thread in another forum that I posted which suggested complaining to SuSE about an odd subfs (which I don't know much about).
I'm working this as a possible udev permission issue. Refer to the other thread mentioned above.
Still working on it.
But another avenue to look at is how the hell the device gets mount options. It sure doesn't
seem to be from /etc/fstab. In fact, there is some code, in /etc/hotplug/hotplug.subfs.functions
and in there, there are 'if' blocks with matches for subfs types and then code to set the
fsoptions.
use the command:
mount
to see the options that were used to mount a devide. They don't match what's in fstab
for the usb device.
I tried adding 'user' as described in
man mount
to that code but it does not seem to get executed. Additionally, there is a worrysome comment
at the top of that file:
# this options are not used currently (SUSE 9.3)
: ${HOTPLUG_DO_MOUNT:=yes}
: ${HOTPLUG_MOUNT_TYPE:=subfs}
: ${HOTPLUG_MOUNT_SYNC:=yes
For those of you who want a workaround - see the other thread in the other forum mentioned in earlier post.
This isn't pretty but the easiest thing you can do is manually mount the drive in /mnt/. This may involve umounting it from media when it's autodetected, but you can then remounting it with the permissions and ownership of your choice to /mnt/usb_drive or something like that. It works for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.