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 Subject: How to deny directory-access for one dedicated user Date: Tue, 13 Oct 2009 18:57:53 +0200 Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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