While I have used NFS to share and transfer files between Slackware
12.0 systems, I find it easier to use Samba (or cifs) to do this
since both machine's are dual boot windows/Linux. Sometimes I want
to share files between windows/windows, windows/linux and linux/linux.
All of these different scenarios seem to work quite well except
for file transfers between machines running linux. I often use
midnight commander as file manager/file transfer method and it usually
works quite well. However, after mounting a linux share on the current
linux machine, I cannot transfer files to the mounted filesystem. I can
transfer from the mounted filesystem or share to the machine I am working
on, but when transferring to the mount I get an error:
Code:
Can't chown ..... error(13)
Oddly enough, aborting the transfer results in the file being transferred
but with owner/group "nobody".
Having read several posts here, I can't seem to make out exactly what the
problem is but think it is probably something in the smb.conf file which
is actually setup mor for sharing with a windows machine than Linux.
Code:
[global]
workgroup = HOME
server string = Samba Server
hosts allow = 192.168.1. 127.
log level = 1
log file = /var/log/samba.%m
max log size = 50
security = share
; security = user
name resolve order = bcast
socket options = TCP_NODELAY
lm announce = yes
local master = no
dns proxy = no
null passwords = yes
guest ok = yes
guest account = nobody
; invalid users = root
; root = administrator
printing = cups
printcap name = cups
; lock directory = /var/lock/samba
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
guest ok = yes
writable = no
printable = yes
create mode = 0700
[root]
comment = Root
path = /
read only = no
browseable = yes
What additions do I need here to do away with this problem?
Or is it just something inherent to Midnight Commander?
No, I have not used cp to see if it works, but sftp works without
incident, although that is an entirely different situation.