This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: strange permissions: ----------


Hi!
Please don´t send me such e-mails!

Jürgen Fries, BDV GmbH

----- Original Message -----
From: Corinna Vinschen <vinschen@redhat.com>
To: cygwin <cygwin@sources.redhat.com>
Sent: Wednesday, November 08, 2000 12:18 PM
Subject: Re: strange permissions: ----------


> "Schaible, Joerg" wrote:
> > The system home directory is mounted to:
> > c:\WINNT\Profiles   /home               system       binmode
> >
> > This mount synchronizes my %USERPROFILE% and $HOME directories to store
my
> > settings for WinNT and Cygwin.
> > Somehow the ownership of my home changed from
> >
> > drwxrwxrwx  17 544      Administ    20480 Nov  8 08:25 jse
> >
> > to
> >
> > drwxrwx---  17 1027     SYSTEM      20480 Nov  8 08:25 jse
> >
> > This change results for strange access rights creating new files in my
home
> > directory:
> >
> > ----------   1 544      Administ      180 Nov  8 08:23 makefile
> >
> > Does somebody know, why this happens? What represents the user 1027? Is
> > there any way to revert this, because "chown 544 $HOME" is ignored?
>
> I'm quite sure that 1027 is the RID of your own account. Did you
> create a /etc/passwd file with mkpasswd? Either that is missing
> or you created the file before creating the user `jse'.
>
> You should add an entry for the administrators group (which is
> what 544 means here) to /etc/passwd as well:
>
> myadminsgroup::544:513:U-ntsadminsgroup,S-1-5-32-544::/bin/false
>
> Substitute "myadminsgroup" by your favorite name for the admins
> group and substitute "ntsadminsgroup" by the name of the NT admins
> group in your locale (eg. "administrators" in the English version,
> "administratoren" in the German version etc) or go the easy way:
>
> ntsadminsgroup::544:513:,S-1-5-32-544::/bin/false
>
> When asked what has changed the ownership I would guess on NT itself.
> The profiles directory is heavily used by NT and it's tools (Explorer,
> IE, etc). I recall that I had a similar problem more than a year ago.
> I would never use the NT/W2K proposed directory as my Cygwin home
> directory. In fact, I change the home directory on my boxes even in the
> NT/W2K user manager to sth. like D:\home\corinna.
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                        mailto:cygwin@sources.redhat.com
> Red Hat, Inc.
> mailto:vinschen@redhat.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]