delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/30/05:12:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Delivery-date: Sun, 30 Oct 2005 11:12:27 +0100
From: "marco.lechner" <marco DOT lechner AT geographie DOT uni-freiburg DOT de>
To: "'Deb* Mohanty'" <deb DOT mohanty AT gmail DOT com>, <cygwin AT cygwin DOT com>
Subject: AW: Files not accessible after reinstalling OS and cygwin
Date: Sun, 30 Oct 2005 11:13:07 +0100
MIME-Version: 1.0
In-Reply-To: <aae3b6bc0510300126w33eeb01dgb3f646f61e54cf10@mail.gmail.com>
Message-ID: <auto-000063477201@uni-freiburg.de>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j9UACY02005226

If you have Administrator-Rights on a Windows-Machine with cygwin and you
want to get access on a file as described in your problem you've got to
different possibilities:

Use the Explorer-Dialog and:
1. change the owner to Administrator
2. give the Administrator Full-Access-Rights

If you are using Cygwin, you have to make it the other way round:
1. chmod 777 filename
2. chown Administrator filename

I don't know why, but it's not possible to "chown Administrator filename" if
the file is "rwxrwx--- unknown unknown ......". But it is possible to chmod
777 and "chown Administrator filename" afterwards. Just the other way round
then Windows does it.


Marco Lechner

--------------------------------------------------------
Marco Lechner
Email marco DOT lechner AT geographie DOT uni-freiburg DOT de

-----Ursprüngliche Nachricht-----
Von: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] Im Auftrag von
Deb* Mohanty
Gesendet: Sonntag, 30. Oktober 2005 10:26
An: cygwin AT cygwin DOT com
Betreff: Re: Files not accessible after reinstalling OS and cygwin

Dear Igor,

Thanks first of all.
I forgot to mention that I tried to use 'chown' unsuccessfully earlier.
But I tried explorer Advanced Security Properties now and it worked.

Thanks again,
Deb


On 10/29/05, Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu> wrote:
> On Sat, 29 Oct 2005, Deb* Mohanty wrote:
>
> > Dear Experts,
> >
> > I had windows2k and cygwin installed on my machine, and I had marked
> > some files as read-only (using cygwin chmod). For some reasons, I had
> > to reinstall windows2k. I also reinstalled cygwin in the same location
> > as it was installed earlier.
> >
> > However the files which were marked read-only earlier are not
> > accessible now. They can't be deleted either. Those are huge files and
> > taking up the space.
> >
> > Any solutions?
>
> An administrative account should be able to take ownership, either using
> Cygwin's chown, or via the Advanced Security Properties dialog in
> Explorer.  Then you can do whatever you wish with the files.
> HTH,
>        Igor
> --
>                                http://cs.nyu.edu/~pechtcha/
>      |\      _,,,---,,_                pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_            igor AT watson DOT ibm DOT com
>     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski, Ph.D.
>    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA
>

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