public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@vinschen.de>
To: Kai Henningsen <kai@cats.ms>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: not updating unwritable cache ../config.cache
Date: Tue, 05 Oct 1999 11:54:00 -0000	[thread overview]
Message-ID: <37FA48CA.21B0BACB@vinschen.de> (raw)
In-Reply-To: <E11YWM5-0005ga-00@charlotte.intern.cats.ms>

Kai Henningsen wrote:
> 
> On 5 Oct 99, at 14:40, Corinna Vinschen wrote:
> 
> > 'ntsec' is definitely not the wrong option. 'ntsec' is the better
> > choice if you are using NTFS filesystems. 'ntea' is a hack that uses
> 
> What do I need for it, then?

Use mkpasswd and mkgroup to create /etc/passwd and /etc/group files.
In the current snapshots, the following rules are important:

- Dont use user and/or group names that are different from the
  NT account names.
  Ever:  administrators::544:
  Never: admins::544:
- Typically, group 513 is your primary group. This is `None' outside
  and `Domain Users' inside of NT domains.
  The primary group membership isn't important for `ntsec', so you
  may change your group entry in /etc/passwd to, e.g., administrators
  group:

	kai::1000:544:Kai Henningsen:/home/kai:/bin/sh

- Use `umask' command in your profile, e.g.: `umask 022'.

Try a `touch foo' and `ls -l foo'. Without `ntsec' you'll get:

  -rw-r--r-- 1 administ none        0 Oct 5 20:00 foo

With `ntsec':

  -rw-r--r-- 1 kai      administ    0 Oct 5 20:00 foo

> > And don't use an account, that is member of the administrators group.
> 
> Not really an option.

When you try `ntsec' you will see that this problem is gone.
Maybe, you get other ones... but I'm working hard in making
`ntsec' better.

And last but not least:
- Constructive feedback always welcome.
- Patches are gratefully accepted.

> 
> > In this case the file owner and the user are diverging.
> 
> Huh. NT bug?

No, NT `feature' ;-}
If a user is member of the administrators group, the administrators
group will be the owner of _every_ object that is created by him/her
(including files, processes, semaphores,...)
_if_ _not_ _explicitly_ _changed_! This job is done by `ntsec'.

Regards,
Corinna


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

WARNING: multiple messages have this Message-ID
From: Corinna Vinschen <corinna@vinschen.de>
To: Kai Henningsen <kai@cats.ms>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: not updating unwritable cache ../config.cache
Date: Sun, 31 Oct 1999 19:54:00 -0000	[thread overview]
Message-ID: <37FA48CA.21B0BACB@vinschen.de> (raw)
Message-ID: <19991031195400.qEjATLWLugv3kGpzcI0X3-Q-XuGFdODNxtd8Cp-0IWo@z> (raw)
In-Reply-To: <E11YWM5-0005ga-00@charlotte.intern.cats.ms>

Kai Henningsen wrote:
> 
> On 5 Oct 99, at 14:40, Corinna Vinschen wrote:
> 
> > 'ntsec' is definitely not the wrong option. 'ntsec' is the better
> > choice if you are using NTFS filesystems. 'ntea' is a hack that uses
> 
> What do I need for it, then?

Use mkpasswd and mkgroup to create /etc/passwd and /etc/group files.
In the current snapshots, the following rules are important:

- Dont use user and/or group names that are different from the
  NT account names.
  Ever:  administrators::544:
  Never: admins::544:
- Typically, group 513 is your primary group. This is `None' outside
  and `Domain Users' inside of NT domains.
  The primary group membership isn't important for `ntsec', so you
  may change your group entry in /etc/passwd to, e.g., administrators
  group:

	kai::1000:544:Kai Henningsen:/home/kai:/bin/sh

- Use `umask' command in your profile, e.g.: `umask 022'.

Try a `touch foo' and `ls -l foo'. Without `ntsec' you'll get:

  -rw-r--r-- 1 administ none        0 Oct 5 20:00 foo

With `ntsec':

  -rw-r--r-- 1 kai      administ    0 Oct 5 20:00 foo

> > And don't use an account, that is member of the administrators group.
> 
> Not really an option.

When you try `ntsec' you will see that this problem is gone.
Maybe, you get other ones... but I'm working hard in making
`ntsec' better.

And last but not least:
- Constructive feedback always welcome.
- Patches are gratefully accepted.

> 
> > In this case the file owner and the user are diverging.
> 
> Huh. NT bug?

No, NT `feature' ;-}
If a user is member of the administrators group, the administrators
group will be the owner of _every_ object that is created by him/her
(including files, processes, semaphores,...)
_if_ _not_ _explicitly_ _changed_! This job is done by `ntsec'.

Regards,
Corinna


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

  reply	other threads:[~1999-10-05 11:54 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-05  5:12 Earnie Boyd
1999-10-05  5:43 ` Corinna Vinschen
1999-10-05  8:24   ` Kai Henningsen
1999-10-05 11:54     ` Corinna Vinschen [this message]
1999-10-06  1:55       ` Kai Henningsen
1999-10-06  8:05         ` Corinna Vinschen
1999-10-31 19:54           ` Corinna Vinschen
1999-10-31 19:54         ` Kai Henningsen
1999-10-06  3:24       ` Kai Henningsen
1999-10-06  8:05         ` Corinna Vinschen
1999-10-07  1:37           ` Kai Henningsen
1999-10-31 19:54             ` Kai Henningsen
1999-10-31 19:54           ` Corinna Vinschen
1999-10-31 19:54         ` Kai Henningsen
1999-10-31 19:54       ` Corinna Vinschen
1999-10-31 19:54     ` Kai Henningsen
1999-10-31 19:54   ` Corinna Vinschen
1999-10-31 19:54 ` Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
2000-03-24 15:58 John Wiersba
2000-03-24 15:25 John Wiersba
2000-03-25 20:02 ` Larry Hall (RFK Partners, Inc)
2000-03-24 15:15 John Wiersba
2000-03-24 13:07 John Wiersba
2000-03-24 13:36 ` John Fortin
2000-03-24 14:48 ` Larry Hall (RFK Partners, Inc)
1999-10-07  5:05 Bernard Dautrevaux
1999-10-31 19:54 ` Bernard Dautrevaux
1999-10-07  4:42 Earnie Boyd
1999-10-31 19:54 ` Earnie Boyd
1999-10-07  2:54 Bernard Dautrevaux
1999-10-07  6:40 ` Kai Henningsen
1999-10-31 19:54   ` Kai Henningsen
1999-10-31 19:54 ` Bernard Dautrevaux
     [not found] <E11YmB6-0007yR-00@charlotte.intern.cats.ms>
1999-10-06  8:49 ` Charles S. Wilson
1999-10-07  2:10   ` Kai Henningsen
1999-10-31 19:54     ` Kai Henningsen
1999-10-31 19:54   ` Charles S. Wilson
1999-10-05  2:07 Kai Henningsen
1999-10-05  2:30 ` Glenn Spell
1999-10-05  2:54   ` Kai Henningsen
1999-10-31 19:54     ` Kai Henningsen
1999-10-31 19:54   ` Glenn Spell
1999-10-31 19:54 ` Kai Henningsen
1999-10-05  1:24 Kai Henningsen
1999-10-31 19:54 ` Kai Henningsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37FA48CA.21B0BACB@vinschen.de \
    --to=corinna@vinschen.de \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=kai@cats.ms \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).