Help! User Permission
infofarmer at FreeBSD.org
Wed Apr 4 11:11:25 UTC 2007
On 4/4/07, VeeJay <maanjee at 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
More information about the freebsd-questions