Owner could not execute files until mounted in fstab? A question...
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.
Owner could not execute files until mounted in fstab? A question...
I'm trying to understand the last few hours... I installed slackware 13 yesterday in a multiboot system. On a seperate hdd from all the OS's I have my mp3 collection......I could play the mp3's as root after manually mounting sdb, but as a user I was unable to play them even though I chown'ed and chmod'ed 777 until I mounted sdb in fstab. The second drive was formatted ntfs by vista. Any idea what that was about?
If something is mounted using fstab, convention states that means the system admin (root) wants the device mounted. Then appropriate permissions are created/inherited/changed on the mountpoint. Something mounted by root manually after boot may need to be chmod'd etc. to suit.
Most new distros, not sure about slack, use some virtual file system in the users home directory to deal with external devices. I imagine in slack there is a tool to modify settings in there to allow a regular user mount and unmount an NTFS drive as required. Dunno exactly what that might be, mind! In ubuntu, running gnome, it's found at: System -> Administration -> Authorisations
Last edited by irishbitte; 11-17-2009 at 07:44 PM.
Reason: wrong pointer!
That's the part that confused me, as root I mounted the drive, then chown to the user then chmod 777 for good measure. I could copy the file to my home directory and still not execute I could write to the drive as well. I just couldn't execute the files until fstab was edited and I rebooted. Just seems very weird to 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.