I've got a file server running fedora 3 with samba shares on a external usb disk with vfat partition.
Share name is "pub" and is located in an external usbdisk with vfat filesystem, mount point is /media/usbdisk/pub
I've also got a client pc dual booted with WinXP and fedora 3.
Accessing the share in winxp, read/write - no problem (I've tested on admin account only)
Accessing the share using linux via nautilis file browser - no problem ( any user can read or write )
The problem arises when I manually mount the share using the mount command.
mount -t smb -o username=my_user,password=my_password,uid=500,gid= 100,dmask=777,,workgroup="NO GROUP" //MyFileServer/pub /mnt/smb
As root I can read/write no problem.
But as an ordinary user, I can create a directory in the share no problem, but as soon as I go into that directory and try to create a file or another directory I get a 'permission denied'.
As mentioned above using nautilis even as an ordinay user I don't get this problem.
I haven't tried accessing the share in XP using an ordinary user.
here is my smb.conf for the pub share :
[global]
workgroup = no group
server string = File Server
printcap name = /etc/printcap# This option tells cups that the data has already been rasterized
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#==========Share Definitions ========================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
username map = /etc/samba/smbusers
password server = None
winbind use default domain = no
[pub]
comment = Public Files
path = /media/usbdisk/pub
writeable = yes
admin users = nobody bong
As mentioned above, I need to create a subdirectory on the directory I've just created in the share, but somehow I'm not being permited to by samba.
Any help appreciated. Thanks.