Re: File permissions and group and user access problem
- From: "Jeff Boyce" <jboyce@xxxxxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 13:41:59 -0700
----- Original Message ----- From: <A.Fadyushin@xxxxxxxxxxxx>
To: <jboyce@xxxxxxxxxxxxxxx>; <redhat-list@xxxxxxxxxx>
Sent: Friday, April 28, 2006 10:15 AM
Subject: RE: File permissions and group and user access problem
-----Original Message-----know if
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
bounces@xxxxxxxxxx] On Behalf Of Jeff Boyce
Sent: Friday, April 28, 2006 12:01 AM
To: redhat-list@xxxxxxxxxx
Subject: File permissions and group and user access problem
Greetings -
I am not sure if this is a Linux or a Samba problem, so let me
Ihow
should be posting to the Samba list. I am not sure I fully understand
permissions work and making sure they are set up properly. I haveread
through all of my Linux, Samba, and networking books and haven't beenable
to resolved my issue.boxes
My System:
RHES 3 fully up to date
Dell PE 2600 used primarily as a Samba file server to 10 Windows
Linux
My Objective:
I need to establish a directory for our accounting files that only
allow
two users to access the file. The accounting software (QuickBooks) is
setup
on a desktop Windows box with the accounting data file stored on the
server.are
What I have done:
1. Setup an Accounting directory on server; current permissions
drwxrws--Tthe
2. Created an Accounting group on the Linux server and included
twopasswords)
users in this group.
3. Setup accounting users passwords (matching their Linux
onpurposes
a common Window box (vers. ME/2000) that is used by the two users.
4. A Guest user is also setup on this Windows box for other
(Ioption,
realize the potential for risk with this but don't have another
thatthe
is why I am trying to achieve my objective).
5. A copy of an accounting data file for testing purposes is on
Linux server with permissions of -rwxrw----in
6. The owner of the accounting data file is one of the two users
thecan
accounting group.
7. Both users in the accounting group can access the Accounting
directory and accounting data file through Windows file manager and
makethe
changes to the data file in QuickBooks.
8. The Guest user can not access the Accounting directory or data
file
through Windows file manager, but if they run QuickBooks they can open
data file and it accepts changes to the file (this is what I want toaccept
prevent).
What I need to do:
I need to make sure that the Guest user (if they are able to start
QuickBooks on this box) is restricted from making changes to the
accounting
data file. In other words, the Linux file permissions would not
anyonto
changes to the data file if it recognizes the Guest user is logged
the
box.
It seems that the QuickBooks is accessing file using the identity of the
user in Accounting group, not the identity of the Guest user for file
permissions checking (because you have verified that Guest can not
access the file directly from file manager. What are the messages in the
Samba log files on the server during the access using QuckBooks? The smb
daemon can log the information on the user accessing the file (if
necessary, increase the verbosity of nessages in the samba configurstuo
file) therefore it could be determined who (what user) ia actually
trying to access the file.
Alexey Fadyushin.
Brainbench MVP for Linux.
http://www.brainbench.com
assist.
Is this a Linux permissions issue, or a Samba share configuration
problem? I can post my Samba share configuration if that would
What should I change to address my problem and meet my objective?Thanks.
Jeff Boyce
www.meridianenv.com
It appears that a reboot of the Windows box has resolved the current issue. I am assuming that when the Users were setup in the Window 2000 box, that not all of the configuration changes were effective until after a reboot, although most of the changes appeared to be implemented just when logging out then back in as a different user. This is what happens when you have different versions of Windows running on different boxes throughout the office. Sorry for causing anyone any extraneous headscratching.
Jeff Boyce
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- RE: File permissions and group and user access problem
- From: A.Fadyushin
- RE: File permissions and group and user access problem
- Prev by Date: RE: File permissions and group and user access problem
- Next by Date: .htpasswd/.htaccess problem...
- Previous by thread: RE: File permissions and group and user access problem
- Next by thread: ps2pdf landscape output
- Index(es):
Relevant Pages
- Re: What is the maximal length of usernames on Solaris?
... >> The choice was not to use UNIX but instead to use Windows. ... Regardless
they don't know...so why are they idiots? ... the law or accounting? ...
> the derogatory interpretation ... (comp.sys.sun.admin) - Re: Windows XP Professional x64 Edition ---> Delphi 2005 x64 Edition?
... Bob Dawson wrote: ... Any power user will be upgrading to the ...
Windows programs under windows. ... BSS Accounting & Distribution Software ...
(borland.public.delphi.non-technical) - Re: How To Make Server Close Files
... We are running Windows 2000 Server on a Domain Using Active Directory ...
Our accounting application closes its files when it is done using them. ... are still left
open from that users session. ... (microsoft.public.windows.server.general) - ODBC error in Simply Accounting
... I'm experiencing a weird problem with Simply Accounting 9.0 running on ... Things
were just fine under windows 98 but when I reinstalled a new ... I reinstalled clean one
of the workstation with windows 2000. ... error with an expected argument that apparently
is missing... ... (microsoft.public.data.odbc)