This is the mail archive of the
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:08:46 -0500
- Subject: Re: How to deny directory-access for one dedicated user
- References: <firstname.lastname@example.org>
On Tue, Oct 13, 2009 at 11:57 AM, Matthias Meyer <> wrote:
> 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
> But nevertheless, user Backup can access the directory as well as the files
> in it.
> How to reach my goal?
> Don't Panic
Use Windows utility 'cacls C:\Test /D Backup' instead of setfacls?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple