delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/31/09:22:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 31 Dec 2009 14:22:25 +0000
Message-ID: <7fad5fa0912310622g2b028422n264693a6113fb3b9@mail.gmail.com>
Subject: 1.7.1 - Text editing doesn't work as Administrator in Win7 Pro x64
From: Asim Ihsan <asim DOT ihsan AT gmail DOT com>
To: cygwin AT cygwin DOT com
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,

As a regular non-privileged user, I'm able to edit text files using
vi/vim/nano when inside the command prompt launched by "cygwin.bat".
However, when I launch "cygwin.bat" as an administrator there is no
text displayed for files in nano, and the directional keys in vi/vim
do not work; on pressing a direction key nothing happens and after
about one second the system bell sound is heared.

Through the use of Sysinternals Process Monitor, I think the problem
is related to cygwin, running as administor, being unable to create
certain files.  I've determined that, as administrator, vi/vim is
unable to create the necessary temporary swap files it needs in
C:\cygwin, and nano is unable to create the necessary .nanorc file it
needs in c:\cygwin.  I can provide the output from Process Monitor if
required.

Does anyone know how I can resolve texting editing in cygwin 1.7.1
when it is run with administrator privileges, or how I can determine
why my current setup is broken?  Please let me know what additional
info I can give.

Thanks,
Asim

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