Samba + Quickbooks file problems
faxguy at server.deanox.com
Fri May 26 02:15:07 GMT 2000
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
(QuickBooks 99 needs *both* the file permissions set as noted *and* the
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.
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).
At 09:34 PM 5/21/00 -0400, Tom Diehl wrote:
>I might have a solution for you. I was playing today and I installed
>samba 2.0.7 with qb99 on 2 winbloze machines. With the unix permissions
>set rwxrwxrwx the file sharing stuff seems to work. If I set the unix
>permissions to rwxrw-r-- It barfs. I do not want full rwx on the quick
>books stuff as too many people can be nosey that way. I discovered
>that rwxrwxr-- works though. I can see the need for the x on the directory
>but I donot see the need for it on the qb files. For some reason though
>it appears to need the x on the files. Now if I could just get the force
>create mask stuff to work. No matter what I set it to it makes the files
>rwxrw-r--. I need the x for the group permissions.
>Hope this helps and let me know how you make out,
>......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