Another quick Samba Question

Justin Bennett justin.bennett at dynabrade.com
Tue Jun 25 15:37:56 EDT 2002


Yeah the file security is the most important for files and directories.
I can have a share ,my home directory, that is read right for me but a
file in it that is owned by root and I can't delete it from windows. I
use samba level security for who can map the share, and whether it's
full access or read only to which users. 

Example: (@ means group).

valid users = @mis, john (who can map the share)
write list = @auto, @eng (who can write to the share (if file security
agrees)

But then I control file and directory access with the file permissions
in linux.  In samba you can force users and groups as well as
permissions of newly created files. 

force group = eng
create mode = 0666
force directory mode = 0777

On Tue, 2002-06-25 at 15:16, Carl Yost Jr. wrote:
> Where does the final say in the security for the folder lay in samba shares? Is it the options you put into samba when you create the share such as users, groups, etc.... Or is it what security you have set for the folder in Linux itself. I am just confused because unless I go to the console and set the security there, nothing I seem to set under samba makes a difference. I have security set for user, I have the samba acting as a PDC. Is that pretty much how it works? Linux itself controls the security in the end ? Any help would be greatly appreciated. Hopefully someone understands what I asked ;).
> 
> 
>  Carl
> 
> --
> This message has been scanned for viruses and
> dangerous content by Dynabrade using Mailscanner,
> and is believed to be clean.
-- 
-------------------------------------------
Justin Bennett
Red Hat (Linux) Certified Engineer
Network Administrator
Dynabrade Inc.
8989 Sheridan Dr
Clarence, NY 14031
716-631-0100 ext 215



More information about the nflug mailing list