delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/14/08:04:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BA1F205.C95F4C1A@mff.cuni.cz>
Date: Fri, 14 Sep 2001 14:03:17 +0200
From: Pavel Kudrna <Pavel DOT Kudrna AT mff DOT cuni DOT cz>
X-Mailer: Mozilla 4.73 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Can't change perm's although I'm owner

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 AT MYCOMP /
$ chmod ugo=rwx /home
chmod: changing permissions of `/home': Permission denied

kudrna AT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019