This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem with chown
- From: "Lu Fang" <lufangprc at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 27 Mar 2003 03:22:22 +0000
- Subject: problem with chown
- Bcc:
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/