Jean-Francois LE CAM
2001-Sep-27 09:39 UTC
FAT partition served by samba => ms word can't save modifications
I am having problems with ms word 2000 SR-1 that does not want to save the modifications I apply to samba-served .doc files ("disk must be write-protected"). It looks like the problem described with nfs-mounted samba served directories, but my shared directory is not nfs-mounted. It is a FAT disk (because my server has dual-boot), which seems to be the cause of the problem. This fat disk entry in /etc/fstab : /dev/hda5 /mnt/data vfat gid=1009,uid=13308,setgid=1009,setuid=13308,rw,suid,umask=002 0 0 So all the files of /mnt/data are owned by my user "jojo" (uid 13308 gid 1009), the only windows user accessing the files through samba. Below is my smb.conf, I have two shared dirs that are configured in the same way : /mnt/data and /tmp. The first one is FAT, the other one is ext2. ms word will work fine in /tmp, not in /mnt/data. I am running samba-2.0.10 (Redhat RPM samba-2.0.10-2) over a RedHat 7.1 system. Thanks for any suggestion (except I shouldn't use ms word :-) Jean-Fran?ois LE CAM [global] workgroup = fly locking = no preserve case = yes case sensitive = no short preserve case = yes server string = Kite Samba Server hosts allow = 10.230.1.11 log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 10.230.1.12/24 remote browse sync = 10.230.1.11 remote announce = 10.230.1.11 dns proxy = no [data] comment = Data on Kite path = /mnt/data valid users = jojo write list = jojo public = no writeable = yes printable = no create mask = 0765 [tmp] comment = Tmp on Kite path = /tmp valid users = jojo write list = jojo public = no writeable = yes printable = no create mask = 0765
Gerald (Jerry) Carter
2001-Sep-29 07:07 UTC
FAT partition served by samba => ms word can't save modifications
On Thu, 27 Sep 2001, Jean-Francois LE CAM wrote:> I am running samba-2.0.10 (Redhat RPM samba-2.0.10-2) over a RedHat 7.1 > system.This is a known bug with FAT file systems IIRC in the Linux 2.4 kernel. I'm fairly certain Tridge checked in a fix for this to the 2.2 branch. Not sure if that is in 2.2.1a though. Try the latest SAMBA_2_2 cvs code. cheers, jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org --"I never saved anything for the swim back." Ethan Hawk in Gattaca--