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.
I'm having trouble setting permissions for the filesystems. I can't get into anything in /mnt as normal user other than CD, DVD, and floppy. I'm in KDE - my NTFS is showing as a "locked folder" and says I don't have permissions to access it. All the other ones say "access denied". In Permissions they all say user=root, group=root. If I try to change user to me, it says I have insufficient access to the file. If I try to change the permissions it says "can't change permissions". Some of them say they use advanced permissions so I click the "advanced permissions" button and change it from there. I don't get an error when I do that but when I go back into it it's set back the way it was before I changed it.
In /etc/fstab the "user" option is enabled for CD, DVD, and floppy, which are the ones I can get into. So I tried setting "user" for all the other ones but then Linux wouldn't start - it would say "can't load /sbin/agetty" over and over and say "c1 spawned too many times" then more of the agetty then "c2 spawned too many times..." until it got to "c6" and then just wouldn't do anything. After I set fstab back the way it was it worked.
Can someone help?
could you post your /etc/fstab please? what do you have in /mnt besides those devices? it would be helpful to know how they are mounted at the moment so we can suggest changes. also, please post the output of
The "user" option lets users --mount-- a new CD, DVD or floppy. It doesn't give them --permissions--. They get the permissions because they do the mounting.
With your NTFS, it is already mounted when a user gets to it, so the "user" option does nothing (except maybe it lets a user unmount?). You need to use "umask" to control the permissions. "umask=000" grants rwx to all. But with NTFS, it is dangerous to write from Linux, so you probably want to use the "ro" option too, to have it mounted as read only. The umask=000 and ro end you up with r-xr-xr-x permissions. "root" will still show as owner and group, but you can copy a file off the NTFS drive and the owner and group will change to the user for the copy, if that is important to you. My fstab entry is:
hi i'm having the same problem i have multiple NTFS partition and when i log into root i can of course access them. Teh only ntfs volume i can access the the windows volume, plz help
This is my "ls -al /mnt"
drwxr-xr-x 8 root root 4096 Jun 11 08:39 ./
drwxr-xr-x 19 root root 4096 Jun 11 08:37 ../
dr-x------ 1 root root 12288 Jun 10 17:07 backups/
drwxr-xr-x 2 root root 4096 Jun 10 05:54 cdrom/
dr-x------ 1 root root 8192 Jun 11 07:50 depot/
drwxrwxrwx 0 root root 0 Jun 11 08:37 floppy/
dr-x------ 1 root root 40960 Jun 10 17:07 music/
dr-xr-xr-x 1 root root 4096 Jun 10 17:07 windows/
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.