This is the mail archive of the
cygwin
mailing list for the Cygwin project.
How to deny directory-access for one dedicated user
- From: Matthias Meyer <matthias dot meyer at gmx dot li>
- To: cygwin at cygwin dot com
- Date: Tue, 13 Oct 2009 18:57:53 +0200
- Subject: How to deny directory-access for one dedicated user
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