delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/13/12:58:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <matthias DOT meyer AT gmx DOT li>
Subject: How to deny directory-access for one dedicated user
Date: Tue, 13 Oct 2009 18:57:53 +0200
Lines: 28
Message-ID: <hb2bil$o3s$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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


--
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