<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Terrell Prudé Jr. wrote:
<blockquote cite="mid:4AD14618.6020105@cmosnetworks.com" type="cite">
<meta content="text/html;charset=US-ASCII" http-equiv="Content-Type">
Daniel Loomis wrote:
<blockquote
cite="mid:2A51F463-FA84-4739-906E-382437B4BF3A@suddenlink.net"
type="cite">I just started setting up a new K12ltsp system and find I
cannot samba create mask and create directory to override system
defaults. <br>
<br>
I use <br>
<br>
create mask 770 <br>
directory mask 770 <br>
<br>
in either [global] or [shares] <br>
<br>
but when a client creates a new directory it defaults to 0755 <br>
and any new files default to 0644 <br>
<br>
Host is running EL. <br>
<br>
Dan <br>
</blockquote>
<br>
<br>
Try the "force" directives. Like this:<br>
<br>
force directory mode = 0770<br>
force create mask = 0770<br>
<br>
--TP<br>
</blockquote>
<br>
Er...make that second line "force create mode = 0770". Typing too
doggone fast....<br>
<br>
By the way, is there any reason you want to make user files executable
by default? I can see directories, but why files? The "force create
mode" that I use is 0660, for this reason. Directories of course
remain 0770 because of the first line.<br>
<br>
--TP
</body>
</html>