X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE08085.5060903@cygwin.com>
Date: Thu, 22 Oct 2009 11:55:49 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: How to deny directory-access for one dedicated user
References: <hb2bil$o3s$1@ger.gmane.org> <416096c60910131027g3df5021ei9b15ab5067353ce0@mail.gmail.com> <4AD4D5FB.4000906@gmail.com> <hbcd9m$l73$1@ger.gmane.org> <4AD9EB0E.80601@gmail.com>
In-Reply-To: <4AD9EB0E.80601@gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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 restriction.
> 2- I want the backup user to be restricted from accessing certain files and
> directories.
>
>    As a matter of plain logic, these requirements just cannot both be satisfied
> simultaneously in the same universe!  There is no means to give the backup
> user privileges to access only-some-but-not-all of the files that the ACLs say
> it should not have access to, because it would essentially require an entire
> second level of ACLs on every file in the system to keep track of which files
> the backup privilege gave access to and which files it did not.

One point that hasn't been made so far (that I could see) was that while the
backup user has access to the entire file system, it is not required that you
backup the entire file system if you don't want to.  You can always exclude the
directories you don't want from your backup operation.  This can be done through
exclusion lists rather than relying on access permissions.  Different 
functionality
for sure bu it will achieve the same end.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

