delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/18/04:03:25

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 18 Apr 2001 10:02:47 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: ntsec environment variable
Message-ID: <20010418100247.K15962@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <005701c0c731$71e7de80$c4332041 AT campbell> <20010417135556 DOT E12559 AT cygbert DOT vinschen DOT de> <001901c0c773$0fd99ca0$c4332041 AT campbell> <20010417214024 DOT D15962 AT cygbert DOT vinschen DOT de> <000b01c0c7d7$8ae4cb40$c4332041 AT campbell>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <000b01c0c7d7$8ae4cb40$c4332041@campbell>; from DaleCampbell@revolutionist.com on Wed, Apr 18, 2001 at 03:16:52AM -0400

On Wed, Apr 18, 2001 at 03:16:52AM -0400, Christopher Dale Campbell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm part of the 'Power Users' group, but not the Administrators'
> (although it's my computer and I have Admin access, this is just my
> regular user account).  After `chown -R dale.None .` and `chmod -R
> u+rwx .` (executed in ~) my home directory permissions are:

[SNIP]
> Note sure if any of this info helps.  All of the permissions appear
> to be the same.  Should I execute the chown and chmod commands logged
> in as Administrator?

That's the point. Users only can use chown if they have the user
right "Restore files and directories". That right is only given to
the groups "Administrators" and "Backup Operators" by default.
That's ...similar... to Unix systems.

And chmod is ok to use for all users as long as they have the
permission to do so. But my instruction was buggy. Ok, *sic*,
try that:

chmod 755 .
chmod -R 755 bin
find learn_c src -type d | xargs chmod 755
find learn_c src tmp -type f | xargs chmod 644

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019