From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11526 invoked by alias); 19 May 2004 11:31:30 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11518 invoked from network); 19 May 2004 11:31:29 -0000 Received: from unknown (HELO ptb-relay01.plus.net) (212.159.14.212) by sourceware.org with SMTP; 19 May 2004 11:31:29 -0000 Received: from [81.174.168.250] (helo=avocado) by ptb-relay01.plus.net with smtp (Exim) id 1BQPIF-000Luq-LQ; Wed, 19 May 2004 11:31:27 +0000 From: "Chris January" To: "roger" , Subject: RE: Cygwin's chmod +X Date: Wed, 19 May 2004 11:53:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <1084910520.3901.35.camel@localhost3.localdomain> X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00674.txt.bz2 > I noticed while creating a bash script to backup my parents outlook & > mydocuments folers, that WindowsXP does not recognize a "superuser" as > being allowed access to a users folders! You can only access a folder if you have been given permission (in the ACL) unless you open it in backup mode. You can only change the ACL if you are the owner of the folder. If you are an Administrator you can take ownership of the folder and change the permissions. What you actually want to do is change the owner of these folders to the Administrators group and then: Before backing up: cacls * /t /e /g yourusername:F After backing up: cacls * /t /e /r yourusername or something like that... In Local Security Policy you can change the default owner of objects created by members of the Administrators group to Administrators by changing the "System Object: Default owner for objects created by members of the administrator group option" in Local Policies/Security Options. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/