[Samba] File Creation Error on an SMB Volume
Matthias Heckmann
m.heckmann at ncag.ch
Wed Nov 24 16:43:34 GMT 2004
Hi folks,
My SMB server is a Helios Ethershare 3.1 on a Tru64 Alpha machine.
We are now integrating more and more gentoo-Linux Servers. These are the
SMB Clients.
On Obelix (one of our gentoo-Servers) I can mount the SMB Volume from the
Ethershare Server.
obelix nc4smb # whoami
root
obelix # mount -t smbfs -o username=m.heckmann //192.9.100.32/MIB_Pat_01
/mnt/nc4smb
i can also:
obelix # cd /mnt/nc4smb
obelix nc4smb # ls -al
total 44
drwxr-xr-x 1 root root 4096 Nov 23 10:20 .
drwxr-xr-x 5 root root 144 Nov 23 10:19 ..
-rwxr--r-- 1 root root 20183 Oct 6 14:32 excuses
-rwxr--r-- 1 root root 5011 Apr 15 2002 java.jpg
drwxr-xr-x 1 root root 4096 Nov 23 10:32 layouts
-rwxr--r-- 1 root root 99 Nov 23 2004 todo.txt
-rwxr--r-- 1 root root 10560 Nov 16 2001 tomcatlogo.jpg
obelix nc4smb # cat todo.txt
TODO
====
- hover the garden
- make sandwich
- brush my teeth
- kidnap my neighbours dog
obelix nc4smb # echo "- grease my bikes chain" >> todo.txt
obelix nc4smb # cat todo.txt
TODO
====
- hover the garden
- make sandwich
- brush my teeth
- kidnap my neighbours dog
- grease my bikes chainobelix nc4smb #
but:
obelix nc4smb # echo "i want to create a file" > new.txt
-bash: new.txt: Input/output error
also:
obelix nc4smb # cp /tmp/cptofile.txt /mnt/nc4smb/
cp: cannot create regular file `/mnt/nc4smb/cptofile.txt': Input/output
error
So you see the problem.
Can mount, can read can write to an existing file.
But _Cant_ create a file.
By the way: On the Helios Ethershare Server i did:
chmod -R 777 /data/MIB_Pat_01 (which is the smb share)
but the ls -al on obelix shows "-rwxr--r--"
further Infos:
obelix nc4smb # uname -a
Linux obelix 2.6.9-gentoo-r1 #1 SMP Wed Nov 3 15:27:32 CET 2004 i686
Intel(R) Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
obelix nc4smb # smbstatus
Samba version 3.0.7
obelix nc4smb # cat /etc/samba/smb.conf
[global]
workgroup = ncag
server string = ""
show add printer wizard = no
local master = no
domain master = no
preferred master = no
os level = 0
[just_a_few_shares]
.
.
.
.
My Windoze has no problem with this share, everything works fine.
Tell me what additional infos you need to get along the problem.
I have everything. Debug outputs, ethereal caps (window$ connect,create.
successing. / linux mount,create. failing. ).
Thanks for your help, in advance.
I would really welcome a solution for this.
It is a crucial criterion for the future of LiNUX in our company. ;-)
Matthias Heckmann
-------------------------
Matthias Heckmann
Systemadministrator
n c ag
In der Luberzen 25
8902 Urdorf
-------------------------
t: +41 1 735 38 38
t dir: +41 1 735 38 10
-------------------------
Web: www.ncag.ch
E-mail:m.heckmann at ncag.ch
-------------------------
More information about the samba
mailing list