Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-16-2009, 08:21 AM   #1
Registered: Jul 2008
Location: Finland
Distribution: RHEL4
Posts: 137

Rep: Reputation: 15
samba config: how to allow sub directory and file create


I seem to have set up my samba connection to work, and have a config entry in my /etc/samba/smb.conf along the lines of:

comment = stuff
path = /usr/stuff
writeable = yes
valid users = cje
which I access from a win2K machine. All works well except file create and sub directory create. What am I missing to allow for this?

Old 03-16-2009, 10:00 AM   #2
Registered: Oct 2008
Distribution: Fedora, CentOS, Crunchbang
Posts: 46

Rep: Reputation: 16
First of all /usr/stuff should be owned or at least writeable for user cje. You can also add following options to your [global] smb.conf settings
create mask = 0644
directory mask = 0755
so all files / dirs copied or created from windows will have that permissions by default


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
Samba: automatically create a domain user's home directory sfoo Linux - Newbie 1 03-04-2008 03:26 PM
Can I create a write-only Samba directory share? knoecker Linux - Software 2 08-17-2007 11:02 AM
use of samba to create a shared directory in slackware 10.2 geom06005 Linux - Newbie 2 01-27-2007 01:38 PM
Auto Create user home directory on Samba m2azer Linux - Networking 2 01-15-2007 11:56 AM
Can you create a config file from a running kernel? sparky8023 Linux - Newbie 3 12-03-2003 10:42 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:39 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