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: References: From: "DePriest, Jason R." Date: Tue, 13 Oct 2009 12:20:29 -0500 Message-ID: <31b7d2790910131020l691acc6ak8b96bbaa2651b515@mail.gmail.com> Subject: Re: How to deny directory-access for one dedicated user To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > 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