Re: How to deny directory-access for one dedicated user

2009-10-22 Thread Larry Hall (Cygwin)
On 10/17/2009 12:04 PM, Dave Korn wrote: Matthias Meyer wrote: How to solve my goal? The user "backup" should backup all data but not certain directories. It cannot be done. Your two requirements amount to: 1- I want the backup user to be able to access all files and directories without

Re: How to deny directory-access for one dedicated user

2009-10-17 Thread Paul McFerrin
I agree with Dave with trying to deny access to a particular user under cygwin. The support is not there. I will touch on an actual feature that provides this capability. Under Amdahl UTS Unix, e.g. SVR3 like, there was feature that relied on the proper implementation of the chroot(2) system c

Re: How to deny directory-access for one dedicated user

2009-10-17 Thread Dave Korn
Matthias Meyer wrote: > How to solve my goal? > The user "backup" should backup all data but not certain directories. It cannot be done. Your two requirements amount to: 1- I want the backup user to be able to access all files and directories without restriction. 2- I want the backup user to

Re: How to deny directory-access for one dedicated user

2009-10-17 Thread Matthias Meyer
Dave Korn wrote: > Andy Koppe wrote: >> 2009/10/13 Matthias Meyer: >>> But nevertheless, user Backup can access the directory as well as the >>> files >> >> Does user "Backup" have Administrator privileges? > > No, user "Backup User" has the "Backup/Restore" privilege. These are > well-known

Re: How to deny directory-access for one dedicated user

2009-10-13 Thread Dave Korn
Andy Koppe wrote: > 2009/10/13 Matthias Meyer: >> But nevertheless, user Backup can access the directory as well as the files > > Does user "Backup" have Administrator privileges? No, user "Backup User" has the "Backup/Restore" privilege. These are well-known reserved names in the NT security

Re: How to deny directory-access for one dedicated user

2009-10-13 Thread Andy Koppe
2009/10/13 Matthias Meyer: > But nevertheless, user Backup can access the directory as well as the files Does user "Backup" have Administrator privileges? In that case you've got no chance. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/fa

Re: How to deny directory-access for one dedicated user

2009-10-13 Thread DePriest, Jason R.
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: /cyg

Re: How to deny directory-access for one dedicated user

2009-10-13 Thread DePriest, Jason R.
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: /cyg