n00b question: Problems with linux root permissions and ntfs partition
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.
n00b question: Problems with linux root permissions and ntfs partition
I am using slack 10 and am trying to import my music from my ntfs windows partition. I tried changing permissions in root but it will give me a random windows file saying I dont have sufficient permission to change the settings of the file even though im logged in as root.
The critical point is the umask option in /etc/fstab.
Since ntfs uses another system to set file permissions, it is not compatible with the unix style permissions. Additionally you cannot write on ntfs in a safe way. The umask parameter 'translates' the ntfs permissions into the unix system. This is rather unflexible, since the parameter that is set in fstab is valid for the whole partition, but it works. The umask parameter is substracted from full unix permissions. Setting umask=2 gives unix permission 5, which means read and exec rights. Changing single file/folder permissions doesn't make sense due to the above mentioned restrictions.
To make the long story short: add umask=000 to the options in /etc/fstab (see egag's post) and you have full permission for everyone (even write permissions, although that doesn't make much sense).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.