Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba create mask
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
YndoEndo
n00b
n00b


Joined: 31 Dec 2003
Posts: 3

PostPosted: Wed Feb 14, 2007 5:09 am    Post subject: Samba create mask Reply with quote

Every time I save a file to a samba share the file mask is set to 744 and I want it to default to 755.

Samba version: 3.0.24

Here is my samba config for the share.
Code:
[cgi]
  comment = CGI
  path = /var/www/localhost/cgi-bin/

  guest ok = no
  public = no

  read only = no
  writeable = yes
  browseable = yes
                               
  inherit permissions = yes

  force user = apache
  force group = apache

  force create mask = 0755
  force directory mask = 0755


Everything works fine except for the file mask.

I'm not worried about the security risk because it is running in VMWare player under NAT.
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Wed Feb 14, 2007 5:26 am    Post subject: Reply with quote

RTFM
_________________
WYSIWYG - What You See Is What You Grep
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