Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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'] Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 >> - ls -ld >> - getfacl >> - getfacl >> >> 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/