Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba create mode / mask [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Lars B.
n00b
n00b


Joined: 10 Oct 2005
Posts: 35

PostPosted: Wed Dec 14, 2005 11:21 am    Post subject: Samba create mode / mask [solved] Reply with quote

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
View user's profile Send private message
livingunderarock
n00b
n00b


Joined: 13 Dec 2005
Posts: 4
Location: Canada

PostPosted: Thu Dec 15, 2005 3:45 pm    Post subject: try force mode Reply with quote

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
View user's profile Send private message
Lars B.
n00b
n00b


Joined: 10 Oct 2005
Posts: 35

PostPosted: Tue Dec 20, 2005 7:50 am    Post subject: Reply with quote

Yes :)

That works..

THX
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum