"Paul W. Abrahams"
kath wrote:
I am trying to write to my windows partition on my second ide drive, hdb1 from linux, (SuSE 6.3).
After mounting the drive to /dosd I try to copy a file to /dosd using KFM but I get the message 'Could not write to... perhaps access denied' This message is the same for a user and as root.
I have tried as root to change the owner or group of /dosd but I can not do this I get a similiar message 'Could not change owner/group perhaps access denied' I have also tried changing the read/write access for others, no joy.
This problem keeps coming up. There are really two parts to it. To be able to write to a Windows partition, you need to include the magic incantation `umask=0' in the /etc/fstab line that references the partition.
Using the options `uid=...' and/or `gid=...', too, it is also possible to restrict access to the vfat partition to a specific user or group. E.g., the options `gid=100,umask=002' will permit write access for owner (still root) and group (100=users), while others may only read.
As to owner/group, you can't change it because Windows filesystems don't record it; but there shouldn't be any ill consequences to the occasional error messages.
The error messages when trying to change permissions, ownership or dates of files on vfat partitions can be suppressed by using the mount option `quiet'. Then such attempts will be silently ignored.
I wish there was some way of publicizing the `umask=0' incantation so that people wouldn't have to keep asking about it. I certainly don't blame you for not knowing about it.
Well, this options are documented in the man page for mount (section "Mount options for fat"). Unfortunately this is a place where many people don't find this information. (I had to answer questions concerning this problem more than once...) As many users want to mount vfat partitions, this issue should also be described in the printed manual. (I don't know if the SuSE manual mentions it.) Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/