delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/10/11:29:41

X-Spam-Check-By: sourceware.org
Message-ID: <43C3E148.4010607@juno.nrl.navy.mil>
Date: Tue, 10 Jan 2006 11:31:04 -0500
From: Ken Senior <senior AT juno DOT nrl DOT navy DOT mil>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: permissions and ACLs
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Ok, I tried attrib to no avail.  After the machine accepted and seemed 
to process the commands, I entered the file properties dialog and the 
read-only box is still shaded.  Also, I still can't delete the 
C:\cygwin\bin\rsync.exe file.

C:\cygwin\bin>mount
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)

C:\cygwin\bin>attrib -R C:\cygwin /S /D

C:\cygwin\bin>attrib -R C:\cygwin\bin /S /D

C:\cygwin\bin>rm rsync.exe
rm: cannot remove `rsync.exe': Permission denied
C:\cygwin\bin>cacls c:\cygwin\bin\rsync.exe
c:\cygwin\bin\rsync.exe SPACEAPPS\senior:F
                        ROMULUS\senior:F


I can't even wipe out the directory to start over.  Here's the getfacl 
output for / and for /usr/bin/

senior AT romulus ~
$ getfacl /
# file: /
# owner: senior
# group: Users
user::rwx
user:senior:rwx
group::---
mask:rwx
other:---
default:user:senior:rwx
default:mask:rwx

senior AT romulus ~
$ getfacl /usr/bin
# file: /usr/bin
# owner: senior
# group: Users
user::rwx
user:senior:rwx
group::rwx
mask:rwx
other:---
default:user:senior:rwx
default:mask:rwx

senior AT romulus ~
$


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019