Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
After messing around with help files and commands and after trying to cd to /mnt/win_d to access my windows partition via the command prompt and getting permission denied. I came to the conclusion that something is definately wrong. ls -l in the mount folder shows me that it gives the group and other users read access. So I su into root and do chmod 775 /dev/hda5/ where hda5 is the device for the windows partition I'm trying to access. After doing this and doing ls -l again in the /mnt folder I find that it didn't change these permissions. Hrm... am I doing something wrong? Am I forgetting to do something? Or perhaps these changes aren't immediate unless I perform anotehr command afterwards? Even so, why am I getting permission denied EVEN THOUGH all users should have read access, at least?!
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
No, fstab allows you to set the permissions on mounting. i.e., if you want users to be able to mount the CDROM drive, you have to specifically allow that in /etc/fstab.
man fstab
man mount
Yeah I did man fstab and man mount, while man fstab made sense and I sorta understand it now. man mount had too many senetnces that ran on and on and turned into paragraphed sized sentences and had comma's thrown about it. It would of made alot more sense if whoever wrote that had taken a breath and broke his thought down into sentences. So now I"m still sitting here not able to get my user to be able to use my windows partitions. Could someone give me an example of how an fstab entry allowing users to be able to access them looks? I'm using mandrake 9.1 if it makes a difference. I know sometimes different distros do different things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.