Cygwin permissions gone after move
斟酌鵬兄
tgckpg@gmail.com
Sat Jan 28 19:21:00 GMT 2012
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@freemail.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@freemail.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
More information about the Cygwin
mailing list