I had similar problems with client locking mechanisms.

If you use Webmin to administer your Samba shares:
1)Edit the share
2)Click on the file Permissions button
3)Set the following items
- New Unix file mode:0660
- New Unix directory mode: 0770
- Force Unix user: USER
- Force Unix group: GROUP
- Force Unix file mode: 0660
- Force Unix directory mode: 0770

In the instructions above, replace USER and GROUP with the Linux user and group names 
you want all of the files to get.  These settings will guarantee that all users of the 
share can read and modify each others files.  And you still have security if you use 
the Valid Users entry under the Security section of the share.

Matthew Zaleski
Vehicle Dynamics
Ford Motor Company

> -----Original Message-----
> From: Franki [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 12:09 PM
> To: [EMAIL PROTECTED]
> Subject: [expert] small samba issue..
> 
> 
> Hi all,
> 
> I have a little issue I was hoping someone here had some clues for me
> with...
> 
> I have setup samba on a clients network.. 2.2.2a and its 
> working just fine..
> I created several publically accesable shares, with totally open
> permissions..
> The idea was that since all users need access to these shares 
> and the files
> contained within..
> (they must have read and write access)
> 
> I put a myob datafile in one share, and a professional 
> accounting package
> datafile in the other..
> 
> I have the same problem with both files..
> 
> the myob file is fine, but myob creates a lock file whenever it is
> accessed.. and that lock file is being created with the owner 
> and group of
> the person who started myob first.. then all the other uses 
> can't access
> that lock file because of permissions and as such it will 
> only allow one
> user to access it at any time.. (since when myob is closed it 
> removes the
> lock file and a new one can be created for the new user.
> 
> The accounting package has the same problem, only one user 
> can use it at the
> same time..
> 
> So my question is this... whats the easiest way to make the lock files
> written totally world readable to all... and ditto with the 
> account packages
> datafile...
> 
> Should I make a new group, and make that group the group of 
> the shares, and
> make all users that need access to it members of that group?
> 
> or should I just make a shell script that runs every 5 
> seconds and makes all
> the files chmod 777..... (which I don't want to do for 
> obvious reasons..)
> 
> 
> can anyone give me any suggestions here???
> 
> thanks guys...
> 
> rgds
> 
> Frank
> 
> 
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to