Hi,

On Tue, Mar 30, 1999 at 10:09 +0200, Wienen, Hans wrote:

> The FAT-file system does not have any facilities for file permissions
> other than 'read only' for everyone. I think the way Linux handles the
> file permissions on a FAT volume is by checking the permissions of the
> mount point (e.g. /mnt/win) Now, I'm not completely sure, but I think
> the way to give the FAT volume 777-permission all over (as said, it is
> not possible to do this on a per file basis), you shound chmod the
> mount point to 777.

This wouldn't help. Try it and you'll see that the permissions
of the mountpoint aren't visible after mounting:

Before mounting:

[root]/root# ls -ld /mnt/dosc/
drwx------   2 sttr     users        1024 Mar 19 23:47 /mnt/dosc/

And after mounting:

[root]/root# mount -t vfat /dev/hda1 /mnt/dosc/
[root]/root# ls -ld /mnt/dosc/
drwxr-xr-x  16 root     root        16384 Jan  1  1970 /mnt/dosc/

Use the umask option like this

[root]/root# mount -o umask=000 -t vfat /dev/hda1 /mnt/dosc/
[root]/root# ls -ld /mnt/dosc/
drwxrwxrwx  16 root     root        16384 Jan  1  1970 /mnt/dosc/

to give read/write/execute permission to everyone.

Ciao,
        Stefan
--
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to