delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/02/12:17:41

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
content-class: urn:content-classes:message
MIME-Version: 1.0
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: no longer administrator, can't mkdir /foo
Date: Thu, 2 Oct 2003 11:15:59 -0500
Message-ID: <03C99898510C8C47945B932907D99AAA16EF56@E2KMEMMCS1.ftbco.ftn.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "DePriest, Jason R." <jrdepriest AT ftb DOT com>
To: <cygwin AT cygwin DOT com>
X-DCC-FTBDCCD2-Metrics: dns2 1131; Body=1 Fuz1=1 Fuz2=1
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h92GHZKo027970

You may need to get permission to temporarily logon as a local admin and
then change the owner of all of the directories under cygwin.
As almost all of my directories and files seem to be owned by
admins.mkgroup.  See if you can change the ownership to the Power User
group or something else that you are a member of.
Btw - I renamed the Administrators group to admin in my /etc/group file.

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Mike Maxwell
> Sent: Thursday, October 02, 2003 10:58 AM
> To: cygwin AT cygwin DOT com
> Subject: no longer administrator, can't mkdir /foo
> 
> 
> For security reasons, I am no longer an administrator on my 
> Win2k machine.
> (No, I didn't mess up, there's an issue with passwords or something--a
> recent break-in.)
> 
> The upshot is that under CygWin, I can't do a mkdir in the / dir (i.e.
> /cygdrive/c/cygwin).
>   $ mkdir foo
>   mkdir: cannot create directory `foo': No such file or directory
> 
> Oddly, a side effect of that seems to be that cygwin no 
> longer sees /tmp;
> bash says:
> 
>     bash.exe: warning: could not find /tmp, please create!
> 
> ls / shows it, but ls /tmp does not:
> 
>   $ ls /
>   bin         cygwin.ico  home  pkg        setup.log       tmp  var
>   cygwin.bat  etc         lib   setup.exe  setup.log.full  usr
>   $ ls /tmp
>   ls: /tmp: No such file or directory
> 
> I can create a directory in / (i.e. c:/cygwin) from 
> MsWindows, but again,
> Cygwin doesn't see it:
> 
>   $ cmd
>   Microsoft Windows 2000 [Version 5.00.2195]
>   (C) Copyright 1985-2000 Microsoft Corp.
> 
>   C:\cygwin>mkdir tmp
> 
>   C:\cygwin>exit
> 
>   $ ls /tmp
>   ls: /tmp: No such file or directory
> 
> Possibly related to all this is the fact that my Windows username has
> changed.  So Cygwin doesn't seem to know where my (new) ~ is, i.e. it
> reports ~ as the local drive's root directory:
> 
>   $ cd ~
> 
>   $ pwd
>   /cygdrive/c
> 
> I tried re-naming my old /home/<OldUsername> directory to
> /home/<NewUsername>, but that doesn't seem to be sufficient.
> 
> Short of re-installing CygWin, is there a fix to all this mess?
> 
> -- 
>     Mike Maxwell
>     Linguistic Data Consortium
>     NomaxwellSpam at ldc dot upenn dot edu
> 
> 
> 
> 
> --
> 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/
> 
> 

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


- Raw text -


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