delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/28/14:21:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLY,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SARE_FROM_CONS6S,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <1952717602.20120128193855@mtu-net.ru>
References: <CAJg5x_bQoh--pUA-eXWEroi58ZxvoD1s5pO2wZFM6Da1JdQ8=g AT mail DOT gmail DOT com> <1952717602 DOT 20120128193855 AT mtu-net DOT ru>
Date: Sun, 29 Jan 2012 03:21:20 +0800
Message-ID: <CAJg5x_aEhXEyn2v7WVi4NHHKx-cG6X3s5eM0FtRxD7fQOU386A@mail.gmail.com>
Subject: Re: Cygwin permissions gone after move
From: =?UTF-8?B?5paf6YWM6bWs5YWE?= <tgckpg AT gmail DOT com>
To: Andrey Repin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q0SJLg67012582

Finally!
When I setting up ssh, cron, etc. They doesn't have permissions to
write changes to anything.
Since all the files and dirs are d--- --- ---.
But then I've changed those to drwx --- --- using 'chmod u+rwx / -R'
and then another problem,
permissions were fixed but it seems it also really chaged "everything",
I hadn't notice there are /proc to Reg Keys, and /cygdrive for C:\ ...
The cygwin goes right, but the windows is having some problems.
The icons at %UserProfile% are gone and some adobe application is
constantly asking me for license

Is there a way to undo the changes?


On Sat, Jan 28, 2012 at 11:38 PM, Andrey Repin <anrdaemon AT freemail DOT ru> wrote:
> Greetings, TCP!
>
>> Hi,
>
>> I'm new in cygwin. I installed cygwin at C:\cygwin and after I decided
>> to move it to D:\cygwin
>> After the moving. The permissions are gone but I got:
>
> You can NOT move between different partitions.
> Only copy. And when you copy, permission inheritance takes place.
>
>> $ ls -la
>> total 353
>> d---------+ 1 Penguin None      0 Jan 22 21:23 .
>> d---------+ 1 Penguin None      0 Jan 22 21:23 ..
>> ----------+ 1 Penguin None  53342 Jan 21 21:10 Cygwin-Terminal.ico
>> ----------+ 1 Penguin None     57 Jan 21 23:45 Cygwin.bat
>> ----------+ 1 Penguin None 157097 Jan 21 21:10 Cygwin.ico
>> d---------+ 1 Penguin None      0 Jan 27 01:57 bin
>> dr-xr-xr-x  4 Penguin None      0 Jan 27 02:08 cygdrive
>> d---------+ 1 Penguin None      0 Jan 21 23:44 dev
>> d---------+ 1 Penguin None      0 Jan 21 23:49 etc
>> d---------+ 1 Penguin None      0 Jan 21 23:50 home
>> d---------+ 1 Penguin None      0 Jan 21 23:49 lib
>> d---------+ 1 Penguin None      0 Jan 25 01:26 opt
>> dr-xr-xr-x  9 Penguin None      0 Jan 27 02:08 proc
>> drwxrwxr-x+ 1 Penguin root      0 Jan 22 00:07 sbin
>> d---------+ 1 Penguin None      0 Jan 22 00:30 srv
>> d---------+ 1 Penguin None      0 Jan 27 02:04 tmp
>> d---------+ 1 Penguin None      0 Jan 21 23:44 usr
>> d---------+ 1 Penguin None      0 Jan 21 23:44 var
>
>
>> I figured that setting back permissions of each file is really
>> annoying and frustrating.
>> And I've installed many packages and it is good if I could not to
>> reinstall cygwin.
>> How do I fix it?
>
> What exactly you want to fix? Do you have any issues currently?
>
>
> --
> WBR,
> Andrey Repin (anrdaemon AT freemail DOT ru) 28.01.2012, <19:38>
>
> Sorry for my terrible english...
>
>
> --
> 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
>



-- 
Regards,
Panguin

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