[Fwd: Re: Newbie: How to get permissions working with 'ntsec']

Garry Heaton garry@heaton6.freeserve.co.uk
Thu Jun 20 06:56:00 GMT 2002


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@RAMCOM ~    ls -l diary >> ~/txt/tmp.txt
===============================================
-rwxrwxrwx    1 pgarry   None         2633 Jun 19 22:36 diary


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



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


pgarry@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/



More information about the Cygwin mailing list