On Fri, 1 Jun 2001, Ben Kennish wrote:
> Whilst we're at it, shouldn't /var be writable to admin too (according
> to the web site.)?
Only certain directories. The majority of /var should be root owned.
There can be a few security issues with having it admin owned.
Nick.
> Cheers,
>
> Ben
>
> Tim Sellar wrote:
> >
> > You are quite right. Have just checked and the ownership of /usr/local is
> > being set to root.root. It should always be set to admin.admin - I'll see
> > about getting the changes made. When building from source vs owners can then
> > install under /usr/local, which is fairly standard practice for most
> > packages.
> >
> > Tim
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of Gary Reid
> > > (cars-sold)
> > > Sent: 01 June 2001 10:09
> > > To: [EMAIL PROTECTED]
> > > Subject: directory ownership and permissions
> > >
> > >
> > > Hi
> > >
> > > we are testing a straight rpm install using the pre-built skel and the VS
> > > admins are finding they cannot compile any software, majordomo etc because
> > > none of the USR directories have the correct permissions - basically admin
> > > can write to home, root and tmp.
> > >
> > > Below is the root folder showing the ownership of directories - is this as
> > > per a standard pre-built skel or have we messed up somewhere?
> > >
> > > [admin@www /]$ ls -al
> > > total 64
> > > drwxr-xr-x 14 root root 4096 May 29 15:55 .
> > > drwxr-xr-x 14 root root 4096 May 29 15:55 ..
> > > drwxr-xr-x 2 root root 4096 Mar 5 11:23 bin
> > > drwxr-xr-x 2 root root 4096 May 30 08:03 c
> > > drwxr-xr-x 3 root root 12288 May 26 11:57 dev
> > > drwxr-xr-x 11 root root 4096 May 29 17:20 etc
> > > drwxr-xr-x 6 admin admin 4096 May 27 14:15 home
> > > drwxr-xr-x 3 root root 4096 Mar 5 11:23 lib
> > > dr-xr-xr-x 73 root root 0 May 29 17:20 proc
> > > drwxr-xr-x 3 admin admin 4096 Jun 1 05:19 root
> > > drwxr-xr-x 2 root root 4096 Mar 5 11:23 sbin
> > > drwxrwxrwt 2 admin admin 4096 Jun 1 05:23 tmp
> > > drwxr-xr-x 20 root root 4096 May 26 11:45 usr
> > > drwxr-xr-x 11 root root 4096 May 26 11:57 var
> > >
> > > thanks
> > >
> > > Gary
> > >
>