Allow all access to database files (dumb newbie question)
Brad De Vries
devriesbj
Mon May 17 11:41:15 PDT 2004
Has anyone suggested taking advantage of the security
within Linux/UNIX?
Why not:
1) create a group for the project
2) add users to the group who need access to this
project
3) create a directory such as /opt/project or
/home/project or /home/projects/project
4) assign the permissions for this directory so that
only the group from #1 can read/write/etc.
5) move all project related files into the directory
and adjust permissions as appropriate
6) verify that the newly created directory(ies) are
being backed up as desired
7) celebrate that the issue is:
a) resolved
b) secure
c) easily maintainable
d) proof of concept for other projects
Once you've done a few of these types of little
projects, you start to see the benefits/drawbacks of
where you put things. Then, hopefully, you can move
the directories and simply create symlinks.
Brad.
--- Robert Black Eagle <rbe at flash.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> If you mean /tmp, you're mistaken. All sorts of
> programs use it and it
> isn't used for anything except temporary files.
>
> On Wednesday 04 December 2002 6:36 pm, Bill Day
> wrote:
> > /temp is uually world read/writeable.. but not a
> good idea.. maybe a
> > samba share where only system users are allowed
> read/write access
> >
> > Bill Day
> >
> > Linux 2.2.20-1tr i586
> > 6:10pm up 1 day, 9:11, 0 users, load
> average: 0.00, 0.00, 0.00
> > We're still up at irc.openprojects.net @
> #linux-users
> > or irc.freenode.net @ #linux-users
> > http://counter.li.org #83358
> > http://sxs.daysdomain.com/
> >
> > ----- Original Message -----
> > From: "Harry G" <harrycg at attbi.com>
> > To: "SxS Users" <linux-users at linux-sxs.org>
> > Sent: Wednesday, December 04, 2002 5:20 PM
> > Subject: Allow all access to database files (dumb
> newbie question)
> >
> > > I am running database program as a user. I have
> another user on the
> > > same computer I want to give access to the
> database file, and also
> > > a bunch of documents.
> > >
> > > Where is the best place to put this in the
> filesystem? I see a lot
> > > of
> >
> > places
> >
> > > that might work, but I want to do this properly.
> Both users will
> > > need
> >
> > read
> >
> > > and write access, by the way.
> > >
> > > TIA
> > >
> > > Harry G
> >
> > ---
> > Outgoing mail is certified Virus Free.
> > Checked by AVG anti-virus system
> (http://www.grisoft.com).
> > Version: 6.0.423 / Virus Database: 238 - Release
> Date: 11/25/02
>
> - --
> Robert Black Eagle
> One gets wise only after being stupid.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Linux-users
mailing list