Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2000 16:18:53 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Paul Herman <pherman@frenchfries.net>
Cc:        ganizani <ganizani@malawi.net>, freebsd-isp@FreeBSD.ORG, Randall Gellens <randy@qualcomm.com>, freebsd-questions@FreeBSD.ORG, qpopper@lists.pensive.org
Subject:   Re: Can't POP mail
Message-ID:  <20000715161853.G84045@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.21.0007151547150.231-100000@bagabeedaboo.security.at12.de>
References:  <000501bfee62$b9f04440$03000004@sysanalyst.galaxy> <Pine.BSF.4.21.0007151547150.231-100000@bagabeedaboo.security.at12.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Paul Herman wrote:

> On Sat, 15 Jul 2000, ganizani wrote:
> 
>> Could someone provide a script that could rectify this problem for me. i.e.
>> set the ownership of each
>> /var/mail/user to user.
> 
> for user in `ls`; do chown $user $user; done

for user in *; ...

No need to fork another process here. :-)

-- 
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: fQH9dS4QBTDKB1OTMPzOQ5ty9Ovgwntf

iQCVAwUBOXCA3SsPVtiZOS99AQFlNAP+Pxoi17So5rZYeSsXqI//aogi7gh/Ctkk
pM8BR96XSzqDJw5o1eFqTU+HIr9kNl4wNvQ4L4F2l0ypibreAXzK91SW0L+cK6u4
U59QF7d9oeJ+EHKERTfuwXjQ1wylj07y8IltHv1bXfVbE4HFQyqZaZRjT4Jf5fpr
5s1o0UU1jE0=
=lY4U
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000715161853.G84045>