This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to deny directory-access for one dedicated user
- From: "DePriest, Jason R." <jrdepriest at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 13 Oct 2009 12:20:29 -0500
- Subject: Re: How to deny directory-access for one dedicated user
- References: <hb2bil$o3s$1@ger.gmane.org>
On Tue, Oct 13, 2009 at 11:57 AM, Matthias Meyer <> wrote:
> Hello,
>
> I run cygwin on Windows (XP as well as Vista) with NTFS.
>
> I want to deny access to a directory for one dedicated user.
> I tried it with:
> $ setfacl -m u:backup:0 /cygdrive/c/test
> $ getfacl /cygdrive/c/test
> # file: /cygdrive/c/test
> # owner: meyer
> # group: Kein
> user::rwx
> user:Backup:---
> group::r-x
> mask:rwx
> other:r-x
> default:user::rwx
> default:group::r-x
> default:other:r-x
>
> But nevertheless, user Backup can access the directory as well as the files
> in it.
>
> How to reach my goal?
> Thanks
> Matthias
> --
> Don't Panic
>
See if these user guide entries are helpful.
For cygwin 1.5: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping
For cygwin 1.7: http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-mapping
I'm wondering if this applies since your example looks an awful lot
like what is used in the user guides.
-Jason
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple