delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/26/22:22:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Originating-IP: [155.69.5.223]
X-Originating-Email: [lufangprc AT hotmail DOT com]
From: "Lu Fang" <lufangprc AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: problem with chown
Date: Thu, 27 Mar 2003 03:22:22 +0000
Mime-Version: 1.0
Message-ID: <F82xdWGHpPnqNI4lQ5t00000542@hotmail.com>
X-OriginalArrivalTime: 27 Mar 2003 03:22:22.0652 (UTC) FILETIME=[14DDA7C0:01C2F410]

Hi,all
I installed cygwin under win2k operation system.
Now I have some problem with using command "chown" to change the ownship of 
a directory.

lufang AT kaguya ~
$ chown -R cvsuser1:cvsgroup1 /home/lufang/repo

lufang AT kaguya ~
$ ls  -lg /home/lufang
total 16
dr-xr-xr-x    7 lufang   None            0 Mar  1 19:42 repo
-r--r--r--    1 lufang   None         3733 Feb 27 21:50 rh_opt.gdt
-r--r--r--    1 lufang   None        11507 Feb 27 21:50 rh_opt.gpr
lrwxrwxrwx    1 lufang   None           94 Feb 14 03:21 vi -> vim.exe

lufang AT kaguya ~
$ ls -lg /home/lufang/repo
total 0
dr-xr-xr-x    3 lufang   None            0 Mar  1 19:42 CVSROOT
dr-xr-xr-x    2 lufang   None            0 Mar 26 21:03 operation-manual
dr-xr-xr-x    4 lufang   None            0 Mar 26 20:59 paper
dr-xr-xr-x    4 lufang   None            0 Mar 26 20:56 source-code
dr-xr-xr-x    2 lufang   None            0 Mar 26 21:01 technical-report

As you can see, I have changed the owner to cvsuser1 by "chown" command, but 
it displyed that the owner is still "lufang".

And I find that if I login to the cygwin as another user "user1", the owner 
of this directory automatically changed into the "user1". Why does this 
heppen? It seems that the command "chown" has nothing effect here.

Can anyone help? Thanks alot!

Lu Fang




_________________________________________________________________



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