Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 have just burned and installed slackware 9.1 but being used to RH 9 i now can't find how to do some things or why things work so differently. Now my main problem is that i'm not able to cd to a fat partition with a regular account, only as root. so, i tried loging as root and changing permissions on the partition (/mnt/drive.d) but when i use chmod it won't change anything. Can u please enlighten me on this matter. thx in advance for your help.
One way you could solve your problem would be to add this line to your /etc/fstab
/dev/hda7 /mnt/vfat vfat umask=000 1 0 (this is what I use)
but change the location and mount point to yours. The umask=000 will give everyone full access read, write, and execute. This will also get mounted automatically at boot.
Well, i tried using the umask=000 and it works now! perhaps some of u can tell me what that mask means and what are the possible values for it Thank u all for your help!
Best regards
John silva
Last edited by John Silva; 10-29-2003 at 10:47 AM.
'umask=000' sets the default permissions for Windows drives to rwxrwxrwx. Since they don't support permissions, you have to specify them here. Values are the same used for the chmod command; to change permissions with chmod to rw-rw-rw-, you would run 'chmod 666 <file>'. For the Win drive, you would put 'umask=666'. The numbers are conjured like this:
For rwxrwxrwx:
r+w+x r+w+x r+w+x - This yields '777'
4+2+1 4+2+1 4+2+1
For rw-rw-rw-:
r+w+- r+w+- r+w+- - This yields '666'
4+2+0 4+2+0 4+2+0
thank u very much for your explanation, i'm still trying to get a grip on how linux really works, i used RedHat 9 for about 3 months so i thought it was time to go and get a more complex but also more powerfull distro and today i installed Slackware 9.1 but all the principles i used in RedHat 9 don't seem to work in Slackware so i'm quite a bit lost. thx for your help
Nope, it's the complement. You're locking
out EVERYONE :)
I'd suggest reading
man umask
Man, btw, is one of the most important
linux commands, and every n00b should
make himself comfortable with it's usage,
so a
man man
is highly recommended ;)
man
man -k
man -k <searchterm> | grep <narrowing down>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.