[wplug] SMB Question

redtoade redtoade at yahoo.com
Wed Mar 3 14:54:33 EST 2004


I'm assuming that the lock files are being created via
the Win client.  In which case you may wish to check
out the following parameters in smb.conf:

   force create mode = 0777
   force group = +cw
   force directory mode = 0777

The "force create" (and "force directory") are NOT the
same as "create".  And if you are using "security =
user", I like the '+' on the force group to enforce
group checking also.

--- "Wise, Jeremey" <jeremey.wise at agilysys.com> wrote:
> I have a situation where I am running a Samba server
> based on RH 7.3 where
> the application keeps creating lock files with bad
> perms. I have the
> directories chmod 6770 and the smb share flag set to
> 6770 but they keep
> getting created wrong. What this does is stop the
> application from being
> multiuser in that all users must have full rights to
> the /data directory
> files to work. Anyone see this before? Comments? 
> 
> (as you can see I have done a chown cw:cw * -R and
> chmod 6770 * -R  before,
> yet it still is creating the temp files wrong)
> 
> *************************************
> /etc/samba/smb.conf
> [cw]
>         valid users = @cw
>         writeable = yes
>         create mode = 6770
>         path = /home/cw
>         write list = @cw
>         force group = cw
>         directory mode = 6770
> ************************


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com



More information about the wplug mailing list