Latest LQ Deal: Linux Power User Bundle
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-13-2005, 05:09 PM   #1
LQ Newbie
Registered: Jan 2005
Distribution: suse
Posts: 12

Rep: Reputation: 0
Question Samba permisions trouble - directorys are fine but the contents are not


I am setting up a samba server that is going to have two users that are the "admins" and it is giving me troubles with the file permissions.

Both users are added to a group called "samba" and what I would like is to make it so anything that is created and added through the samba share has full permissions for the "samba" group.

I have gotten it so that anything that is added shows it is owned by the samba group with the command
force group = samba
Folders seem to be fine and are created with the correct permissions but when a folder is dragged and dropped into the share only the folders are being changed with the correct permissions. The files contained in the folders all have various permissions and none of them are -rwxrwx--- which is what I am needing.

Any and all help would be greatly appreciated!!! This is the second to last step before this server is all completed.

I am attaching my smb.conf just in case it is needed. Many thanks in advance.

Robert :-)

workgroup = NA
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = user
server string = Samba Server
add user script =
domain master = false
domain logons = no
local master = no
preferred master = auto
;; ldap server =
;; [homes]
;; comment = Home Directories
;; valid users = %S
;; browseable = no
;; read only = No
;; create mask = 0640
;; directory mask = 0750
;; guest ok = no
;; printable = no
available = yes
browseable = yes
comment = 700 gig
create mask = 0770
inherit permissions = yes
directory mask = 0770
create mode = 0777
force group = samba
guest ok = no
path = /storage/
read only = no
printable = no


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 - XP can't list folder contents p0tw0r Linux - Networking 1 05-31-2005 03:37 AM
Trouble Browsing NT Server Shares (Do not have permissions to view contents) hellaperv Fedora - Installation 2 03-16-2005 10:56 AM
alsamixer in trouble, sound works fine Cdzin Slackware 1 01-02-2005 11:28 AM
Xfree86 mouse trouble / knoppix fine twinkers Debian 1 09-28-2003 04:53 PM
Windows 2000 Permisions under Samba wyndman Linux - Networking 2 09-05-2003 02:44 PM > Forums > Linux Forums > Linux - Software

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