Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 18:51:30 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: file rights
Message-ID:  <20010817185130.A47979@ns2.wananchi.com>
In-Reply-To: <01bf01c12733$5b41d160$0200a8c0@testuser>
References:  <01bf01c12733$5b41d160$0200a8c0@testuser>

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

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Marcel Dijk <nascar24@home.nl> [20010817 18:42]: writing on the subject '=
file rights'
Marcel> Hello,
Marcel>=20
Marcel> How do I set the follwing rights:
Marcel>=20
Marcel> The owner of: /home/www is dijk.
Marcel> I want dijk to have full access to this dir and subdirs.
Marcel>=20
Marcel> But I also want user rien to have write/delete/append etc rights to=
 this directory.
Marcel>=20
Marcel> How do I do that?
Marcel>=20
Marcel> Marcel

I think you add a group to /etc/group

writers:*:1006:

put dijk and rien in that group

writers:*:1006: dijk, rien

then cd /home

chgrp -R writers www/





-Wash

--
Odhiambo Washington
Wananchi Online Ltd.,
wash@wananchi.com 1st Flr Loita Hse.
Tel: 254 2 313985 Loita Street.,
Fax: 254 2 313922 PO Box 10286,00100-NAIROBI,KE.

No, this trick won't work... how on earth are you ever going to explain in=
=20
terms of chemistry and physics so important a biological phenomenon as firs=
t=20
love?=20
-Albert Einstein=20
(contributed by Chris Johnston)=20

--huq684BweRXVnRxX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE7fT2Cn7LIsuxjem8RAskQAJ9WZD+TVnojR3in1FxOrxcFOmXrSQCgpV1X
f05BSoq7yye1aG2J6H51pfY=
=Hyz8
-----END PGP SIGNATURE-----

--huq684BweRXVnRxX--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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