Samba + Quickbooks file problems
Tom Diehl
tdiehl at pil.net
Sat May 27 01:52:51 GMT 2000
On Thu, 25 May 2000, Lee Howard wrote:
> I updated samba to samba-2.0.7-4 (RedHat RPM). That didn't help.
> I changed the file ownership to user.group from user.user. That didn't help.
> I changed the file permissions to -rwxrwxr-- as you had suggested, and then
> it worked.
> (QuickBooks 99 needs *both* the file permissions set as noted *and* the
> ownership also.)
>
> However, when everyone closes QuickBooks the QBI file is deleted, and when
> the first person opens the QBW up again the QBI file is created,
> permissions get set to -rwxrwxr--, and the ownership becomes user.user.
> Non 'user' access is denied until the ownership and permissions are changed.
Change the directory permissions to rwxrwsr-- (note the lower case "s" that
is the key) and set the group that you want the files to maintain on that
directory that will stop that nonesence. If there is a better way I am open
to suggestions but so far that seems to work.
>
> I have found that using the 'admin users = +group' parameter will allow
> things to work properly. Although calling any non-root user root bothers
> me slightly, I can't see the harm in it ('force user = +someuser' could be
> done instead, but root makes about as much sense as anybody, and "nobody"
> would cause security problems with non-samba access). Coupled with the
> 'force group = +group' parameter, the file permissions and ownerships on
> all the files in the share will be identical... which mimicks Windows file
> sharing closer, I think (which is done on a per-share basis, rather than on
> a per-file one).
I do not want to use root for the qbooks file so I created a qbooks user and
group. That way I can control just who has access. I am still working on
how to get all files created with rwxrwx--- permissions though. I still do not
understand the force create mode stuff. Seems simple enough but I cannot
get it to work. Anyone care to explain this so a dummy like me can
understand it?
TIA,
......Tom "Do not meddle in the affairs of wizards,
tdiehl at pil.net for you are crunchy and good with ketchup."
Unix IS user friendly. It's just selective about who its friends are.
More information about the samba
mailing list