Re: anything but chown...

From: Amir Tal (tal_at_nonexisting.hamakor.org.il)
Date: Mon 16 Aug 2004 - 02:56:14 IDT


ik wrote:

> 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 ??
>>
> FAT no matter what version does not support owners :) only attributes
> like R, W, Hidden and Directory :)
>
>
>
> Ido

in that case, how do you give access to those files to a regular user ?
adding the user
to the "root" group wont help...
regular users don't have access to that dir (itself, one level above the
files..)
the interesting thing is, that if i create the mount point AS a user,
the ownership will change
back to root after i mount.
i wonder what will happen if i'll give my user uid 0...
august penguins all over again ? :)

tal.

-- 
=============================================
Best Regards,Amir Tal
Whatsup, Hebrew linux portal.
http://www.whatsup.org.il, tal_at_whatsup.org.il
icq : 15748705,cell : 001-646-296-3835.
=============================================
=================================================================
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:09:50 IDT