X-Spam-Check-By: sourceware.org X-Authenticated: #1035326 Message-ID: <43C3CDD1.3060609@gmx.de> Date: Tue, 10 Jan 2006 16:08:01 +0100 From: Holger Krull User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: permissions and ACLs References: <43C3BE55 DOT 6070009 AT juno DOT nrl DOT navy DOT mil> In-Reply-To: <43C3BE55.6070009@juno.nrl.navy.mil> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Ken Senior schrieb: > Frustrated by permission problems resulting from having two accounts > with the same user name (one domain, one local) I decided to start over > with my cygwin installation. This time, I logged in as local > administrator (account name say admin AT local) and installed cygwin as > this user. Then, to make sure I could read and use cygwin from my > domain account I used the Windows ACLs to also grant my domain account > "Full Control" to all the files in C:\cygwin. Thus, both my admin AT local > (local admin) and my admin AT domain (domain admin) have Full Control to > files in C:\cygwin. But, while logged in both as admin AT local and as > admin AT domain I tried from Windows Explorer to delete a file and was > informed that I do not have permission! Cygwin doesn't have an independent set of file permissions, the acls of windows are just translated to cygwin, use getfacl to view them. If you can't do it in windows, cygwin won't help. I suggest getting the permissions right in windows before using cygwin. To view the permissions set on a file use cacls or xcacls (from windows support tools). The hidden readonly and system flags overrule acl entrys (set with attrib). On a mounted share the rescriction on the share overrule acl entrys. If you can't delete a file as administrator and think you should, please post the output from cacls on this file. -- 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/