Haggai Eran wrote:
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 ??
solved :
http://www.linuxquestions.org/questions/archive/14/2002/08/2/27353
scroll almost to the end to see the solution. if you're to lazy :
/dev/xxx /mnt/xxx vfat defaults,umask=000 1 0
--
=============================================
Best Regards,Amir Tal
Whatsup, Hebrew linux portal.
http://www.whatsup.org.il, [EMAIL PROTECTED]
icq : 15748705,cell : 001-646-296-3835.
=============================================
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]