permissions and ACLs

Ken Senior senior@juno.nrl.navy.mil
Tue Jan 10 16:33:00 GMT 2006


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@romulus ~
$ getfacl /
# file: /
# owner: senior
# group: Users
user::rwx
user:senior:rwx
group::---
mask:rwx
other:---
default:user:senior:rwx
default:mask:rwx

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



More information about the Cygwin mailing list