This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: permissions and ACLs


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@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@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@romulus /usr
$ chown -R senior /

senior@romulus /usr
$ cd /usr/bin

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

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

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


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

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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]