Re: anything but chown...

From: Haggai Eran (he3_at_nonexisting.hamakor.org.il)
Date: Mon 16 Aug 2004 - 03:14:54 IDT


Since fat doesn't support ownership the only thing you can do is change the
uid or gid in the mount command
from man mount:
Mount options for vfat
..
       uid=value and gid=value
              Set the owner and group of all files. (Default: the uid
              and gid of the current process.)
       umask=value
              Set the umask (the bitmask of the permissions that are
              not present). The default is the umask of the current
              process. The value is given in octal.
       dmask=value
              Set the umask applied to directories only. The default
              is the umask of the current process. The value is
              given in octal. Present since 2.5.43.
       fmask=value
              Set the umask applied to regular files only. The
              default is the umask of the current process. The value
              is given in octal. Present since 2.5.43.

On Monday 16 August 2004 02:02, Amir Tal wrote:
> debian sid, 2.6.7-1-k7 .
> got an external 250gb hard drive with fat32 filesystem (created in Linux
> with fdisk), connected via usb2.
> the mount command is :
> mount -t vfat -o rw,iocharset=iso8859-1,codepage=437 /dev/xxx /mnt/xxx
>
> root can cd into the directory, create files, delete files, modify what
> he created., and chmod existing files.
> on the other hand, he cannot chown existing files, but he can modify
> them (edit and save).
> the files were copied to the disk using my computer at work, running
> windows 2000 server. files mode
> is set to "-rwxr--r--" .
>
> what am i missing here ??

-- 
Haggai Eran
he3_at_bezeqint.net
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Mon 16 Aug 2004 - 03:25:22 IDT