Hi!
I can't change permissions using chmod. Although I am the owner of
the directory, see below. What am I doing wrong?

Can anybody point me to any info about inheritance of permissions with
respect to Cygwin? To my surprise I found nothing about that at Cygwin
website.

My account is member of Administrators group. In /etc/passwd file my
primary group is also set to Administrators (544).
NT4.0 SP6a, no domain, Cygwin 1.3.3, CYGWIN=binmode tty ntsec,
all mounts mounted binary and system.

Thanks
Pavel Kudrna.


kudrna@MYCOMP /
$ chmod ugo=rwx /home
chmod: changing permissions of `/home': Permission denied

kudrna@MYCOMP /
$ ls -la
total 866
drwxrwxrwx   12 kudrna   Administ     4096 Sep 14 10:46 .
drwxrwxrwx   12 kudrna   Administ     4096 Sep 14 10:46 ..
d---------    0 kudrna   Administ        0 Jul 25 18:02 RECYCLER
drwx------    4 kudrna   Administ     4096 Jun 18 15:56 TclTk
drwxrwxrwx    3 kudrna   Administ   114688 Sep 13 10:53 bin
-rwxrwxrwx    1 kudrna   Administ       75 Jul 27 18:48 cygwin.bat
-rwxrwxrwx    1 kudrna   Administ      766 Sep 13 10:53 cygwin.ico
d---------    0 kudrna   Administ        0 Sep 14 12:45 etc
d---------    0 kudrna   Administ        0 Sep 13 13:20 home
d---------    0 kudrna   Administ        0 Sep 13 10:53 lib
-rwxrwxrwx    1 kudrna   Administ      291 Oct 27  2000 mnt
d---------    0 kudrna   Administ        0 Jul 24 18:08 sbin
-rwxrwxrwx    1 kudrna   Administ     6857 Sep 13 10:53 setup.log
-rwxrwxrwx    1 kudrna   Administ   749172 Sep 13 10:53 setup.log.full
d---------    0 kudrna   Administ        0 Aug 29 17:56 tmp
d---------    0 kudrna   Administ        0 Sep 13 10:51 usr
d---------    0 kudrna   Administ        0 Sep  2 14:31 var

kudrna@MYCOMP /
$

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to