View previous topic :: View next topic |
Author |
Message |
Lars B. n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2005 Posts: 35
|
Posted: Wed Dec 14, 2005 11:21 am Post subject: Samba create mode / mask [solved] |
|
|
Hi,
I have defined a share folder:
Code: |
[Austausch]
comment = text
browseable = no
public = no
valid users = @hanse
guest ok = no
writelist = @hanse
create mask = 770
directory mask = 770
force group = hanse
path = /daten/pfad
|
My Problem is, that all files which are created by any users doesn't get group execute permissions like defined. So It's like a create mask = 760.
Any ideas why the files don't get executable, but read and write permissions ?
Thx for help
Lars
Last edited by Lars B. on Tue Dec 20, 2005 7:50 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
livingunderarock n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Homer.jpg)
Joined: 13 Dec 2005 Posts: 4 Location: Canada
|
Posted: Thu Dec 15, 2005 3:45 pm Post subject: try force mode |
|
|
I believe that "create mask" specifies the *maximum* permissions that can be set on files in the share -- other factors (umask) can influence the *actual* permissions that are set.
You may instead want to check the Samba docs for "force create mode" , which ensures an exact permission set on all new files.
Code: | ...
force create mode = 770
force directory mode = 770
... |
_________________ living under a rock
JuliusPC consulting
Canadian communities online
discovery Niagara pottery |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Lars B. n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2005 Posts: 35
|
Posted: Tue Dec 20, 2005 7:50 am Post subject: |
|
|
Yes
That works..
THX |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|