This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: permissions and ACLs
- From: Ken Senior <senior at juno dot nrl dot navy dot mil>
- To: cygwin at cygwin dot com
- Date: Tue, 10 Jan 2006 11:31:04 -0500
- Subject: Re: permissions and ACLs
- Reply-to: 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@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/