Linux - NewbieThis 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
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.
Ok, I've searched this and many other forums. I've read the man pages. I've done "info mount". I have edited fstab with the proper entries, including the user option to allow non-root users to mount some smbfs shares. For some damn reason, I STILL get "mount: only root can do that" when I try to mount those smbfs shares. I can mount them as root, but then I get read-only access to the shares as non-root and no matter what I do with permissions on the mount point it does the same thing.
Is something overriding the user option? This is driving me kinda nuts.
Thanks, man. The bigger issue for me I guess is the read-only access I'm getting. That's why I started trying to mount it as myself (non-root). The way I have it now it's available automatically even after a boot, but I can't write to them. ?? No matter how impressed with myself I get for doing vertain things in linux, it never fails to humble me at least once in a while. I like that, though....
in the fstab you can add the entry such as umask=000 or specify the user id, which is the way i do it and add uid=500
your user id may be different but in this case mine is 500:
/dev/hdc1 /mnt/80gig vfat user,rw,exec,uid=500 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.