View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 01-04-2005, 09:11 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Cannot create files on samba share

Hi all,

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.

Thanks in advance for any help!
Old 01-04-2005, 09:45 AM   #2
LQ Newbie
Registered: Jan 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Solved by upgrading samba-client version


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?

Old 01-04-2005, 09:46 AM   #3
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using samba to create share on mandrake ALInux Linux - Software 5 04-22-2005 02:43 PM
Cannot share files using samba on slack 10.1 alamuru420123 Slackware 7 03-22-2005 03:18 AM
can't create/modify files in a samba share deadslota Linux - Newbie 4 08-07-2004 11:26 PM
Don't share .files with Samba objorkum Linux - Software 1 02-28-2004 08:48 AM
ok i giv eup on samba, i want to create an ftp share now...vsftpd rvn Linux - Newbie 3 10-10-2003 02:45 PM

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration