Re: Can't create symbolic links in mounted vfat partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcus,

RTM. 'man mount' will tell you that 'user' does not take an argument, but specifies that any user should be able to mount the partition. To set the UID of the files in the partition, use the 'uid=...' and 'gid=...' arguments in fstab. You may have to use 'umask=777' (or 775) instead of fmask and dmask. The manual states that fmask and dmask are present since 4.5.43, which I assume is a kernel version. Others have pointed out that Windows partitions do not support links.

Peter

Marcus Claesson wrote:
Hi,

I'm having problem doing certain things to my vfat (WinXP,FAT32)
partition from RedHat 9.

It's mounted like this

/dev/hda5 on /mnt/windows type vfat (rw,fmask=777,dmask=777,user=marcus)

It looks like this:

[marcus@miah marcus]$ ll /mnt/
total 36
drwxr-xr-x    2 root     root         4096 Oct 17 14:26 cdrom
drwxrwxrwx   12 root     root        32768 Jan  1  1970 windows

I can write to it as root, and as another user I can read but not write
to it,
not even as 'marcus'.

I think it has to do with the same thing as that I can't create links on
this
partition:

[root@miah windows]# ln -s file.txt file_link
ln: creating symbolic link `file_link' to `file.txt': Operation not
permitted

Does anyone out there know how I should mount this partition so these
things
will work. Really appreciate any help!

Regards,
Marcus




-- Peter B. West <http://www.powerup.com.au/~pbwest/resume.html>


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux