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