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.
I need help mounting a drive so that all users can read it. I have got it mounted before but only root can see the files. I am dual booting linux and windows xp so the drive I am tring to mount is my NTFS windows drive. I only want to be able to read the files because I have heard of some of the write problems with NTFS and linux. as I said I have got it mounted but when I go into my GUI and click where it is mounted it says I don't have permission to access these files. But when I go into the terminal as root I can type ls and see the files. I need full user access!
Basically, Windows filesystems don't understand Unix style permissions, so the VFS layer in the kernel grafts permissions on to files in Windows partitions. The uid and gid parameters tell which user and group respectively should own the files. The umask determines which permissions are given to other users. Starting from a base of all permissions granted, the umask tells which permissions should then be denied. A umask of 0002 says that only write permissions from "others" should be denied. Please read the man page for chmod and umask for a more thorough description of how this all works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.