1) So, no one knows of any definitive ownership rules for all of qmail?
2) Why is it ok for /var/qmail to be owned by root:root?


>From: "pop corn" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Problem with VAR directory during install
>Date: Thu, 28 Jun 2001 00:20:25 -0000
>
>I have the same question about ownership/permissions for all of /var/qmail
>directories and files. I made some changes manually, but am very
>uncomfortable with my current settings.
>
>When I first got into qmail, I thought that making the custom qmail 
>accounts
>were part of making it bulletproof, but there doesn't seem to be much
>requirement to keep things from being owned by root.
>
>$ cd /var/qmail
>$ ls -las
>total 68
>   4 drwxr-xr-x   12 alias    nofiles      4096
>   4 drwxr-xr-x   18 root     root         4096
>   4 -rw-r--r--    1 qmails   qmail          24 .bash_logout
>   4 -rw-r--r--    1 qmails   qmail         230 .bash_profile
>   4 -rw-r--r--    1 qmails   qmail         124 .bashrc
>   4 drwxr-sr-x    2 alias    nofiles      4096 alias
>   4 drwxr-xr-x    2 root     qmail        4096 bin
>   4 drwxr-xr-x    2 root     qmail        4096 boot
>   4 drwxr-xr-x    2 root     qmail        4096 control
>   4 drwxr-xr-x    2 root     qmail        4096 doc
>   4 drwxr-xr-x    6 root     root         4096 log
>   4 drwxr-xr-x   10 root     qmail        4096 man
>   4 drwxr-x---   11 qmailq   qmail        4096 queue
>   4 -rwxr-xr-x    1 root     root          212 rc
>   4 drwxr-xr-x    6 root     root         4096 supervise
>   4 drwxr-xr-x    2 root     qmail        4096 users
>$ ls -las supervise
>total 24
>   4 drwxr-xr-x    6 root     root         4096
>   4 drwxr-xr-x   12 alias    nofiles      4096
>   4 drwxr-xr-t    4 root     root         4096 courier-imap
>   4 drwxr-xr-t    4 root     root         4096 qmail-pop3d
>   4 drwxr-xr-t    4 root     root         4096 qmail-send
>   4 drwxr-xr-t    4 root     root         4096 qmail-smtpd
>
>$ $ ls -las /service
>total 8
>   4 drwxr-xr-x    2 root     root         4096
>   4 drwxr-xr-x   18 root     root         4096
>   0 lrwxrwxrwx    1 root     root           34 courier-imap ->
>/var/qmail/supervise/courier-imap
>   0 lrwxrwxrwx    1 root     root           33 qmail-pop3d ->
>/var/qmail/supervise/qmail-pop3d
>   0 lrwxrwxrwx    1 root     root           32 qmail-send ->
>/var/qmail/supervise/qmail-send
>   0 lrwxrwxrwx    1 root     root           33 qmail-smtpd ->
>/var/qmail/supervise/qmail-smtpd
>
>
>>From: Steve Reed <[EMAIL PROTECTED]>
>>To: Yvette 'Tina' Martinez <[EMAIL PROTECTED]>
>>CC: [EMAIL PROTECTED]
>>Subject: Re: Problem with VAR directory during install
>>Date: Wed, 27 Jun 2001 19:37:05 -0400
>>
>>Excuse me while I go bang my head against the wall.  OK, there
>>now that that's over with....has anyone else had trouble
>>installing qmail on Mandrake 8?
>>
>>I'm following the instructions to the letter and the darn thing
>>won't install.  I'd much rather find the reason for it and fix
>>it than install an older version of the operating system, which
>>can present other issues.
>>
>>-Steve
>>
>>
>> > I am also new at this and the first thing I had to do
>> > was stop using linuxconf. Linuxconf seems to have a
>> > mind of its own and it will regularly change ownership
>> > based on its own set of rules. BTW, I don't know
>> > exactly why. The second thing I did was rebuild my
>> > machine with Mandrake 7.2 (from 8.0)
>> >
>> > I had all kinds of trouble with mandrake 8 in all
>> > different apps.
>> >
>> > So far with mandrake 7.2 back online all my installs
>> > have been clean.
>> >
>> > I use the command line mostly and webmin to look at
>> > users and groups...
>> >
>> > Tina
>> >
>> >
>> > --- Steve Reed <[EMAIL PROTECTED]> wrote:
>> > > Well I think I may have located the source of the
>> > > trouble but
>> > > it's still puzzling. Both the Life With Qmail and
>> > > the Running
>> > > qmail book want the /var/qmail directory created
>> > > while logged in
>> > > as root. That gives ownership to the user root in
>> > > the group
>> > > root. Then, the qmail-specific groups and users are
>> > > added. The
>> > > problem is that when I run linuxconf and look at the
>> > > created
>> > > users, I receive a warning that the home directory
>> > > of /var/qmail
>> > > has an invalid owner and group. Could this be the
>> > > cause of my
>> > > problems? I'm not exactly a newbie to file and
>> > > directory
>> > > permissions, but in reading all the qmail
>> > > documentation I can
>> > > lay my hands on I see nothing that indicates I need
>> > > to change
>> > > the ownership and group of /var/qmail from
>> > > root/root.
>> > > Nevertheless, linuxconf is whining and my compile
>> > > goes nowhere,
>> > > and this all smells like a permissions issue.
>> > >
>> > > I'm running Mandrake 8.
>> > >
>> > > Thanks for your patient help.
>> > >
>> > > Steve.
>> > >
>> > >
>> > >
>> > > > On Mon, Jun 25, 2001 at 02:43:15PM +1200, Steve
>> > > Reed wrote:
>> > > > > So, I'm stumped.  Why is config (or config-fast)
>> > > unhappy?
>> > > >
>> > > > Because it's expecting dirs and stuff in
>> > > /var/qmail that
>> > > aren't there.
>> > > >
>> > > > Run "strings - install | grep /" and look for a
>> > > fully-
>> > > qualified path
>> > > > (ie. starting with a slash) that doesn't look
>> > > system-related.
>> > > In your
>> > > > case, since you didn't change conf-qmail, you
>> > > should
>> > > see /var/qmail.
>> > > > If you see something else instead, that's where
>> > > all your qmail
>> > > stuff got
>> > > > installed -- all you gotta do is figure out why it
>> > > went
>> > > there.  8-)
>> > > >
>> > > > - Adrian
>> > > >
>> > >
>> >
>> >
>> > __________________________________________________
>> > Do You Yahoo!?
>> > Get personalized email addresses from Yahoo! Mail
>> > http://personal.mail.yahoo.com/
>> >
>>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to