SAMBA SMB Server 3, on FC5, Hosting a shared folder to Windows client but can only read and not write

Posted on 2006-07-20
Medium Priority
Last Modified: 2010-08-05
G'day All,

For the life of me! Samba has been a pain. Have been following three books on it and the web and still can't get it to work.
I have Fedora Core 5, with Samba 3.0.21b-2, with a folder I would like to share to some windows clients.
For starters for some reason SWAT can't change my passwords because it says it can't find the accounts in the smbpasswd file, the file is there. But over the CLI I can add the passwords to the accounts and works fine. Don't know why SWAT just does not want to play.
Secondly, after finally managing to get a folder hosted on the windows network, it turns out that I can only read from it. No matter what I do, change permission on the folders, on SAMBA, users, force masks, force users , every body read and write, no good. I cannot get the shared folders to write from the windows clients. I've tried using other peoples configuration files with no luck. been checking the conf file with testparm and reloading the service.

Does any one have a smb.conf file which has been tested and works. I just need to be able to share a folder to a windows network and have ready write access to it. And also the permissions on the linux folders.

Any assistance very much apreciated!!!

thank you all!!

Question by:Arthur_Mino
LVL 12

Accepted Solution

ibu1 earned 1500 total points
ID: 17159055
Follow this example

comment = share
path = /Downloads
readonly = no
browsable = yes
writeable = yes
create mask = 0777
directory mask = 0777
force create mode = 0777
force directory mode =  0777

Check that the shared directory has the permission of 777.If it is not do this

# chmod -R  777 /Download

Best of luck


Author Comment

ID: 17159737
G'day ibu1 and all,

Ok it took me all night but I found the cause of my mistake.

Your config file ibu1 is correct and it works.

But it turns out that because I had SWAT running and I was modifying the smb.conf file as well, this would cause a conflict between the two. There fore not just loading in my edited CLI smb.conf file but the SWAT file as well.

I noticed this when I was running the testparm smb.cnf, it would only show part of my settings. With a better look it all fell in to place.

I strongly suggest for people running SWAT to make sure you don't go back to the CLI to change the SMB file.

Thank you for getting back to me.



Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question