Date: Wed, 4 Apr 2007 15:11:21 +0400 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: VeeJay <maanjee@gmail.com> Cc: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: Help! User Permission Message-ID: <cb5206420704040411n66059824padb1a6013789fc49@mail.gmail.com> In-Reply-To: <2cd0a0da0704040325n7d756c51t861852e983968e64@mail.gmail.com> References: <2cd0a0da0704040325n7d756c51t861852e983968e64@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/4/07, VeeJay <maanjee@gmail.com> wrote: > Hello friends > > How can I restrict a user from getting in to an "Unauthorized folder" and > getting directory list with using "ls" command? > > If he tries to cd to the unauthorized folder or tries to get directory > listing so he gets "Permission denied" message? "chmod a-rwx folder" to deny all access to everybody, then "chmod u+rwx folder" and "chown gooduser folder" to permit a good user (and only him) to access it. For fine-tuned denials, I guess you should read about access lists.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420704040411n66059824padb1a6013789fc49>