LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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


Hi

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:

Quote:
[stuff]
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?

Thanks
 
Old 03-16-2009, 10:00 AM   #2
cyprinidae
Member
 
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
Code:
create mask = 0644
directory mask = 0755
so all files / dirs copied or created from windows will have that permissions by default
 
  


Reply


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


All times are GMT -5. The time now is 07:35 PM.

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