delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/20/06:52:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 20 Jun 2002 12:51:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: [Fwd: Re: Newbie: How to get permissions working with 'ntsec']
Message-ID: <20020620125151.C30892@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <1024492655 DOT 12039 DOT ezmlm AT cygwin DOT com> <3D10A28F DOT 6010407 AT heaton6 DOT freeserve DOT co DOT uk>
Mime-Version: 1.0
In-Reply-To: <3D10A28F.6010407@heaton6.freeserve.co.uk>
User-Agent: Mutt/1.3.22.1i

On Wed, Jun 19, 2002 at 04:26:07PM +0100, Garry Heaton wrote:
> I've tried it both ways. The result is the same. All permissions set to 
> 'rwxrwxrwx' and no 'chmod' or 'chown' working. Here's the original 
> '/etc/passwd' file:

Is the result actually the same?  Including the access violation?
Could you please send another strace with the below /etc/passwd
file?  And please send the following additional information:

- The name and path of the file you're trying to chmod.
- ls -l <that_file>
- ls -ld <parent_dir_of_that_file>
- getfacl <that_file>
- getfacl <parent_dir_of_that_file>

Perhaps that helps.  It's pretty unclear why it results in an
access violation.  I've never seen that on my system.

Corinna

> Everyone:*:0:0:,S-1-1-0::
> SYSTEM:*:18:18:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
> Administrator:unused_by_nt/2000/xp:500:513:U-RAMCOM\Administrator,S-1-5-21-343818398-1078145449-1060284298-500:/home/Administrator:/bin/bash
> Guest:unused_by_nt/2000/xp:501:513:U-RAMCOM\Guest,S-1-5-21-343818398-1078145449-1060284298-501:/home/Guest:/bin/bash
> pgarry:unused_by_nt/2000/xp:1000:513:Garry 
> Heaton,U-RAMCOM\pgarry,S-1-5-21-343818398-1078145449-1060284298-1000:/home/pgarry:/bin/bash
> r:unused_by_nt/2000/xp:1004:513:U-RAMCOM\r,S-1-5-21-343818398-1078145449-1060284298-1004:/home/r:/bin/bash

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

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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