delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/10/09:28:31

X-Spam-Check-By: sourceware.org
Message-ID: <43C3C4E2.60309@juno.nrl.navy.mil>
Date: Tue, 10 Jan 2006 09:29:54 -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

Igor,

I changed the text of my email to make it more readable, replacing 
"senior" with "admin" as well as the name of my domain and machine.  
I'll leave the correct names this time. 

Yes, I actually did a recursive chown on everything below /,  and it 
still doesn't work.  I can't really see the permissions on /usr/bin 
since it is strangely mounted separately from the other directories in /usr:

senior AT romulus /usr
$ ls -la
total 0
drwxrwx---+ 16 senior Users 0 Jan  9 13:31 .
drwxrwx---+  9 senior Users 0 Jan  9 13:32 ..
drwxrwx---+  8 senior Users 0 Jan  9 13:31 X11R6
drwxrwx---+  4 senior Users 0 Jan  9 13:28 doc
drwxrwx---+  2 senior Users 0 Jan  9 13:28 etc
drwxrwx---+  3 senior Users 0 Jan  9 13:28 i686-pc-cygwin
drwxrwx---+  2 senior Users 0 Jan  9 13:31 i686-pc-mingw32
drwxrwx---+ 11 senior Users 0 Jan  9 13:31 include
drwxrwx---+  2 senior Users 0 Jan 10 07:40 info
drwxrwx---+  6 senior Users 0 Jan 10 07:43 local
drwxrwx---+  5 senior Users 0 Jan  9 13:29 man
drwxrwx---+  3 senior Users 0 Jan  9 13:29 sbin
drwxrwx---+ 19 senior Users 0 Jan 10 07:39 share
drwxrwx---+  2 senior Users 0 Jan  9 13:28 src
drwxrwx---+  6 senior Users 0 Jan  9 13:29 ssl
drwxrwx---+  2 senior Users 0 Jan  9 13:28 tmp

senior AT romulus /usr
$ 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)

senior AT romulus /usr
$ chown -R senior /

senior AT romulus /usr
$ cd /usr/bin

senior AT romulus /usr/bin
$ rm rsync.exe
rm: cannot remove `rsync.exe': Permission denied

senior AT romulus /usr/bin
$ chmod u+w /usr/bin

senior AT romulus /usr/bin
$ rm rsync.exe
rm: cannot remove `rsync.exe': Permission denied


senior AT romulus /usr/bin
$ ls -la rsync.exe
-rwxrwxrwx  1 senior root 245248 Aug 18 03:56 rsync.exe

senior AT romulus /usr/bin
$ less /etc/passwd

senior AT romulus /usr/bin
$ less /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-ROMULUS\Administrator,S-1-5-21-4847
63869-1563985344-682003330-500:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-ROMULUS\Guest,S-1-5-21-484763869-1563985344
-682003330-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help 
Assistant Accoun
t,U-ROMULUS\HelpAssistant,S-1-5-21-484763869-1563985344-682003330-1000:/home/Hel
pAssistant:/bin/bash
senior:unused_by_nt/2000/xp:1003:513:U-ROMULUS\senior,S-1-5-21-484763869-1563985
344-682003330-1003:/home/senior:/bin/bash
sshd:unused_by_nt/2000/xp:1020:513:sshd 
privsep,U-ROMULUS\sshd,S-1-5-21-48476386
9-1563985344-682003330-1020:/var/empty:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft 
Corporation,L=Redmon
d,S=Washington,C=US,U-ROMULUS\SUPPORT_388945a0,S-1-5-21-484763869-1563985344-682
003330-1002:/home/SUPPORT_388945a0:/bin/bash



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