On my openSuSE 11.4 laptop, I use dual boot with Win 7. I also use VMplayer 3.1.4 to run a business critical WinXP set of apps while using my openSuSE host.
There is one partition ( /dev/sda6 - FAT32) which has much commonly accessed stuff.
I can access /dev/sda6 in host linux as /windows/D.
I can access /dev/sda6 as D: while booted in Win 7.
I can access the drive mostly in VMplayer as VMware shared folders - EXCEPT that MSOffice apps can’t save to it. I’ve gone through all the VMware KB to only find that “yes it is a problem - use Samba”. I have setup Samba 3.5.7 (using lotsa Swerdna references amongst others)
Here’s the challenge - when Samba share points to a ext4 partition - no problem. When it points to vfat or ntfs partition - can’t see a thing (see listing below). I’ve googled/tested/tried every little bit - I’ve even Read The Manual (actually RTFM) many times. Nowhere have I seen on the net in any forum a description/solution for this combo.
As an example (first share is vfat on /windows/D - second is ext4 on /home):
forest5:/var/log/samba # df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 61931384 10704132 48081320 19% /
devtmpfs 1964104 240 1963864 1% /dev
tmpfs 1971472 2456 1969016 1% /dev/shm
/dev/sda2 61931384 10704132 48081320 19% /
/dev/sda7 259830036 55678100 190953344 23% /home
/dev/sda1 61443912 45714864 15729048 75% /windows/C
/dev/sda6 31438832 8654032 22784800 28% /windows/D
forest5:/var/log/samba # mount
/dev/sda2 on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/sda7 on /home type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /windows/C type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
/dev/sda6 on /windows/D type vfat (rw,nosuid,nodev,noexec,relatime,uid=1000,gid=100,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
forest5:/var/log/samba # smbclient -U kisaacs \\\\forest5\\F
Enter kisaacs's password:
Domain=[UPTIME] OS=[Unix] Server=[Samba 3.5.7-3.5.1-2573-SUSE-SL11.4-x86_64]
smb: \> dir
NT_STATUS_ACCESS_DENIED listing \*
61403 blocks of size 524288. 44501 blocks available
smb: \> quit
forest5:/var/log/samba # smbclient -U kisaacs \\\\forest5\\kisaacs
Enter kisaacs's password:
Domain=[UPTIME] OS=[Unix] Server=[Samba 3.5.7-3.5.1-2573-SUSE-SL11.4-x86_64]
smb: \> dir
. D 0 Wed Oct 12 11:14:29 2011
.. D 0 Tue Aug 30 23:43:36 2011
.gstreamer-0.10 DH 0 Fri Oct 7 18:29:05 2011
The SMB.CONF sections contain:
[global]
workgroup = UPTIME
netbios name = forestx
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
log level = 3
interfaces = vmnet0 vmnet1 vmnet8
usershare allow guests = Yes
server string = Kens Laptop
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[F]
comment = Windows D drive
guest ok = Yes
inherit acls = Yes
path = /windows/D
read only = No
valid users = kisaacs
force user = kisaacs
Ideas/hints…?