|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Cannot change perms on fat32 partition?
|
Gregson Helledy said:
> Last week I posted about being unable to change perms on my fat32
> partition, mounted as /windows by root.
> Perms were originally displayed as:
> drwxr-xr-x
>
> Following suggestions here, I added the following to the line in
> fstab:
> umask=777
>
> Following a umount and mount, I then got perms like this:
> d---------
When using 'umask' the argument is a 3 digit Octal string. This value is
then subtracted from 666 for files and 777 for directories. The default
umask is 022 giving you the permissions you originally saw (drwxr-xr-x).
This is why 'umask=777' gave you 'd---------'. Change it to 'umask=000'
and that should give you what you want.
>From a security stand point you might want to create a 'windows' group and
then use the 'uid=value and gid=value' for mount to restrict access. Also
change umask accordingly.
Jon
>
> From the documentation, I understood that it was supposed to
> be the same as with chmod. I did:
> mkdir test
> chmod 777 test
>
> and it produced:
> drwxrwxrwx
> which is what I want, except on the /windows directory.
>
> What did I do wrong this time?
>
> Greg
>
>
> --
> Privileged/Confidential information may be contained in this message.
> If you are not the addressee indicated in this message (or responsible
> for delivery of the message to such person), you may not copy or deliver
> this message to anyone. In such case, you should destroy this message
> and notify GRA, Inc. (postmaster@gra-inc.com) immediately. Please advise
> immediately if you or your employer do not consent to Internet e-mail
> for messages of this kind. Opinions, conclusions and other information
> expressed in this message are not given or endorsed by GRA, Inc. unless
> otherwise indicated by an authorized representative independent of this
> message.
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group --
> http://www.phillylinux.org
> Announcements -
> http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion --
> http://lists.phillylinux.org/mailman/listinfo/plug
>
>
--
Trooper Jon S. Nelson, Linux Certified Admin., CCNA
Pa. State Police, Bureau of Criminal Investigation
Computer Crimes Unit
Work: 610.344.4471 Cell/Page: 866.284.1603
jonelson@state.pa.us
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|