delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/04/22/12:17:50

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,TW_LH,TW_RW,TW_WX,TW_XR,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Matthias Meyer <matthias DOT meyer AT gmx DOT li>
Subject: admin sees another file-owner as a normal user
Followup-To: gmane.os.cygwin
Date: Fri, 22 Apr 2011 18:17:05 +0200
Lines: 27
Message-ID: <ios9m9$evq$1@dough.gmane.org>
Mime-Version: 1.0
User-Agent: KNode/4.4.7
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi,

I've installed cygwin V1.7.5 within Windows7 SP1.
Curiously a file seems to have two different owners. Depends on the account 
which list the file.


If I run a cmd as a normal user and list file:
C:\>ls -lh /
drwxrwx---+  1 ????????       Administrators  16K 2011-04-22 10:46 bin
C:\>ls -lhn /
drwxrwx---+  1 4294967295 544  16K 2011-04-22 10:46 bin

If I run a cmd as administrator and list file:
C:\>ls -lh /
drwxrwx---+  1 Backup         Administrators  16K 2011-04-22 10:46 bin
C:\>ls -lhn /
drwxrwx---+  1 1033 544  16K 2011-04-22 10:46 bin


I haven't any problem because of this behaviour but I want understand what 
happens their.

Thanks for any hint
Matthias
-- 
Don't Panic


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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