LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-16-2008, 08:25 PM   #1
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Rep: Reputation: 15
samba, add dir, but dirs that's there are ro


so, guess topic says a bit

user: maria
groups: smbshare

chmod: folder is 770 and all the content are 750

so i realised that folder mask only affects what the folder contains and not the folder itself. so i need some sort of bypass for this. that is, i want a bypass

any thoughts?

Last edited by jo4; 01-16-2008 at 11:08 PM. Reason: discovered critical info
 
Old 01-17-2008, 03:19 PM   #2
gstewart
LQ Newbie
 
Registered: Apr 2007
Posts: 11

Rep: Reputation: 0
Use:

create mask =
directory mask =

In your directory share and insert your desired bitwise permissions

I.e, (ultra-simplistic)

[my_shared_dir]
path = /my/dir/path
valid users = my_user
create mask = 0770
directory mask = 0770


Note: "create mask" and "directory mask" are synonymous with "create mode" and "directory mode".
 
  


Reply

Tags
samba users



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
command to show only dirs in current dir? Lordandmaker Linux - Newbie 3 01-06-2006 07:11 AM
Bash script to process every file in current dir and sub dirs BuckRogers01 Linux - Software 3 09-06-2005 07:32 AM
add dirs to $PATH zchoyt Linux - General 4 09-13-2004 02:00 PM
Cmd to rm dir thats has files and other dirs psyklops Linux - General 4 04-17-2002 08:12 PM
Add Dir in Samba AMDPwred Linux - General 1 03-03-2002 10:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration