Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <034901c04979$eff73540$c1aa10ac@16.170.191> From: "Fries" To: References: <3A0936A0 DOT 8791FC62 AT redhat DOT com> Subject: Re: strange permissions: ---------- Date: Wed, 8 Nov 2000 12:49:23 +0100 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Hi! Please don´t send me such e-mails! Jürgen Fries, BDV GmbH ----- Original Message ----- From: Corinna Vinschen To: cygwin 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 AT sources DOT redhat DOT com > Red Hat, Inc. > mailto:vinschen AT redhat DOT com > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > > > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com