delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/13/13:09:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <hb2bil$o3s$1@ger.gmane.org>
References: <hb2bil$o3s$1 AT ger DOT gmane DOT org>
From: "DePriest, Jason R." <jrdepriest AT gmail DOT com>
Date: Tue, 13 Oct 2009 12:08:46 -0500
Message-ID: <31b7d2790910131008w78074b1fn63a05ce864196215@mail.gmail.com>
Subject: Re: How to deny directory-access for one dedicated user
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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
>

Use Windows utility 'cacls C:\Test /D Backup' instead of setfacls?

-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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019