Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am using samba version 3.0.10 on Fedora Core 3. I have created a homes share on my Linux myserver machine, and I can successfully read and write it when mounted on a Windows XP machine. However, if I try to mount it from a different Linux host, I can only read from the share: creation of new files is not possible. Moreover, it seems that I can delete files which already exist on the share! (When I try to create a new file, the filename apeears on the directory list, but with zero size).
Here is my smb.conf:
netbios name = MYSERVER
log file = /var/log/samba-log.%m
lock directory = /var/lock/samba
security = share
encrypt passwords = yes
server string = %L
browseable = no
read only = no
writable = yes
create mode = 0664
directory mode = 0775
comment = Home Directories
valid users = %S
Another thing: when logged into myserver, the users can manipulate their homes without any problems, so it does not seem to be a permission issue.
Funny, I noticed that the client machine was running the samba-client version 3.0.8 which came originally with Fedora Core 3. I upgraded it to 3.0.10 and everything seems to be working now. Is there a bug/incompatibility with samba 3.0.8?
when you map a samba share on a win box, it doesn't log you in the Linux server. I think you should make the home directories writeable by Samba (check which user smbd runs as).
To make sure, set permissions on a test-user home directory to be world-writeable (chmod a+w /home/testuser I think) and try again to create a file from the win box. If it works you know you have a permissions problem.