DOS/FAT partitions do not have the necessary fields for real security
features. linux fakes it at mount time. You can't chmod or chown them.
--- Thomas SMETS <[EMAIL PROTECTED]> wrote:
>
> Here below is my /etc/fstab
> <snip>
> /dev/hda5 / ext2 defaults 1 1
> /dev/hda6 swap swap defaults 0 0
> /dev/fd0 /mnt/floppy auto
> sync,user,noauto,nosuid,nodev,unhide 0 0
> /dev/cdrom /mnt/cdrom auto
> user,noauto,nosuid,exec,nodev,ro 0 0
> none /proc proc defaults 0 0
> none /dev/pts devpts mode=0622 0 0
> /dev/hdc1 /home ext2 defaults 0 0
> /dev/hda1 /mnt/dos vfat defaults 0 0
> </snip>
>
> When logged as a comon' user I never
> can write on the DOS partitions (it's a real pity).
> Doing a "su" & then requesting as root to "chown" of /dev/hda1
> I've the following error :
> <snip>
> [root@Calvin dos]# chown -v tsmets.users *
> failed to change owner of My Documents to tsmets.users
> chown: My Documents: Operation not permitted
> failed to change owner of My Download Files to tsmets.users
> chown: My Download Files: Operation not permitted
> ....
> </snip>
>
> When I see the description of the CHOWN command
> Usage: chown [OPTION]... OWNER[.[GROUP]] FILE...
> It's what I do ... or I'm wrong ?
>
>
> Thomas,
>
> p.s. :
> users is a group with ID 100
> tsmets is a user with ID 501
>
>
>
> --
>
> Thomas SMETS Phone : +32 (0)2 742. 05. 94.
> Av. de la Braban�onne 133 / 3 e-mail : tsmets @altern.org
> 1030 Bruxelles
>
> ==== Quote of the day =========
> "What do you give a man who has everything?" the pretty teenager
> asked her mother.
> "Encouragement, dear," she replied.
> ======= End of Quote =========
>
=====
Mage Grimau, Strange Unwashed & Somewhat Slightly Dazed
VoiceMail/Fax: 1-651-328-1145
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/