LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 01-13-2005, 05:09 PM   #1
rwtreke
LQ Newbie
 
Registered: Jan 2005
Distribution: suse
Posts: 12

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


Greetings,

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 :-)

[global]
workgroup = NA
os level = 2
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
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 = 127.0.0.1
;; [homes]
;; comment = Home Directories
;; valid users = %S
;; browseable = no
;; read only = No
;; create mask = 0640
;; directory mask = 0750
;; guest ok = no
;; printable = no
[storage]
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
 
  


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 - 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


All times are GMT -5. The time now is 12:55 AM.

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