Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <003e01c30b41$a1e783f0$193c82a4@tun.st.com>
From: "saber_zrelli" <saber.zrelli@st.com>
To: <cygwin@cygwin.com>
Cc: <cygwin@cygwin.com>
References: <Pine.GSO.4.44.0304251122500.10996-100000@slinky.cs.nyu.edu>
Subject: Re: cygwin through runas
Date: Fri, 25 Apr 2003 16:45:00 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

the user id did not correspond to the user mentionned for runas :
it's the default session user.
id :
uid=500(systun) gid=513(None) groups=513(None)

ls -ld :
drwxr-xr-x   44 systun   None        16384 Apr 25 16:41 .

i'm using runas with the user tunvqtvalidadm
and it's  not present in  /etc/passwd file.



----- Original Message -----
From: <pechtcha@cs.nyu.edu>
To: <saber.zrelli@st.com>
Cc: <cygwin@cygwin.com>
Sent: Friday, April 25, 2003 4:24 PM
Subject: Re: cygwin through runas


On Fri, 25 Apr 2003 saber.zrelli@st.com wrote:

>      Hi all ,
>
>      I run cygwin using runas DOS command ,
>      the user i use is an administrator in my local machine , and is
>      registred as domain user too.
>
>      when i get bash prompt , i tried to make touch -a some_file , but the
>      result is : permission denied !
>
>      Is it normal ? ( idont' think)
>
>      thanks for your help.
>      Saber.

It could be normal.  What's the output of "id" and "ls -ld ."?  Is your
user in /etc/passwd?  (By your using "runas", I surmise you're using
WinNT/2k/XP)
Igor
--
http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski
    '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II



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

