delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/06/20/07:27:57

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
Message-ID: <3D11BC9A.7040603@heaton6.freeserve.co.uk>
Date: Thu, 20 Jun 2002 12:29:30 +0100
From: Garry Heaton <garry AT heaton6 DOT freeserve DOT co DOT uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020611
X-Accept-Language: en, en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: [Fwd: Re: Newbie: How to get permissions working with 'ntsec']

Here's the output. I've added the command/underlines. Also the original file 
in Emacs had ^M and ^[ characters where there are only black squares as I 
paste it into Mozilla Composer. 'Hope you can establish which is output and 
which if formatting.

Garry

pgarry AT RAMCOM ~    ls -l diary >> ~/txt/tmp.txt
===============================================
-rwxrwxrwx    1 pgarry   None         2633 Jun 19 22:36 diary


pgarry AT RAMCOM ~    ls -ld ~/ >> ~/txt/tmp.txt
=============================================
drwxrwxrwx    9 pgarry   None         4096 Jun 20 02:40 /home/pgarry/



pgarry AT RAMCOM ~    getfacl diary >> ~/txt/tmp.txt
=================================================
# file: diary
# owner: pgarry
# group: None
user::rwx
group::---
mask::---
other::rwx


pgarry AT RAMCOM ~    getfacl ~/ >> ~/txt/tmp.txt
==============================================
# file: /home/pgarry/
# owner: pgarry
# group: None
user::rwx
group::---
mask::---
other::rwx
default:user::rwx
default:mask::---
default:other::rwx


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



--
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