[TriLUG] mount cifs problem
Joseph Mack NA3T
jmack at wm7d.net
Sat Feb 4 10:57:53 EST 2012
I have a linux box running as a samba server.
root at routera:/tmp# smbd --version
Version 3.0.23b
I export files from my wrt54g waps (dd-WRT, OpenWrt) to this
machine for rrdtool processing
To show that the samba server is working OK....
I can mount and write just fine from my linux laptop
laptop:~# mount -t smbfs //192.168.2.254/tmp /mnt -o username=administrator,passwd=""
from my dd-WRT machines
from my OpenWrt kernel-2.4 machines
mount -t cifs //192.168.2.254/tmp /tmp/smbshare/ -o username=administrator,passwd=""
but when I do the same with my OpenWrt kernel-2.6 machines,
I can write once, but not overwrite the file with another
copy of the file.
root at wap_133:/etc# mount -t cifs //192.168.2.254/tmp /tmp/smbshare/ -o username=administrator,passwd=""
root at wap_133:/etc# cd /tmp/smbshare/
root at wap_133:/tmp/smbshare# touch foo
root at wap_133:/tmp/smbshare# touch foo
touch: foo: Invalid argument
>From the client, I can rm, and mv foo, but not copy over it.
Anyone know why I can't overwrite the file?
I've tried making the mountpoint (/tmp/smbshare) root.root,
nobody.nogroup; I've added "noperm" to the mount options,
without any effect.
Thanks Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
More information about the TriLUG
mailing list