hi. so, i have done a good deal of net searching pior to seeking
email advice, i'd appreciate your feedback at this point...

I have recently installed cygwin on W2K using CYGWIN=binmode ntea tty;
It seems that ntsec is infinutely more useful for unix-like file
directories but, from what i gather, it won't be much use to me on at
FAT32 system.

I gather, given my setup, that the "chmod NNN File" command is relatively
useless. When I do attempt this approach, I get "Bad File Descriptor"
returned. Any chmod command returns the same result. I am guessing that
this might be due to the UNIX to DOS mapping features of cygwin but, if
there is a way to make chmod work, i'd love to hear it (I have read
the FAQ and still didn't find a good solution).

I am learning my way around ACLs. The file i am trying to access
is Hello.c. When i type ls -l I get -rw-r--r--. I have tried setfacl to
change these values to something similar to "chmod 777". Everything i type has no effect:


setfacl -m u:Peter Dushkin:rwx Hello.c
setfacl -m u:(null or 544): Hello.c
setfacl -s u:Peter Dushkin:rwx Hello.c
setfacl -s u:(null or 544):rwx Hello.c
setfacl -s u:544
setfacl -m u:544... and so on

The core of my questions are this:

1) am i right to be using ntea given my system 2) am i right that chmod won't work (and what is meant by "bad file descriptor" 3) Should i cange some values in either my passwd or group files that will make setfacl work? 4) If not, could you please describe an exact command that might do the trick... I see in the help file that the convention is: setfacl [-r] (-f ACLFILE | -s acl entries) FILE Is there an *actual* ACL file that I should be referencing in my commands and, if so, where is it located?

I appreciate your time and thank you in advance.

Regards, Peter














Peter B Dushkin


DIP, Comp Sci
Queens College

01 223 507 667

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-DENALI\Administrator,S-1-5-21-796845957-1682526488-1202660629-500:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-DENALI\Guest,S-1-5-21-796845957-1682526488-1202660629-501:/home/Guest:/bin/bash
Peter Dushkin:unused_by_nt/2000/xp:1000:513:Peter Dushkin,U-DENALI\Peter 
Dushkin,S-1-5-21-796845957-1682526488-1202660629-1000:/home/Peter Dushkin:/bin/bash
sshd:unused_by_nt/2000/xp:1002:513:sshd 
privsep,U-DENALI\sshd,S-1-5-21-796845957-1682526488-1202660629-1002:/var/empty:/bin/bash
VUSR_PETER-IMR7CB9NE:unused_by_nt/2000/xp:1001:513:VSA Server 
Account,U-DENALI\VUSR_PETER-IMR7CB9NE,S-1-5-21-796845957-1682526488-1202660629-1001:/home/VUSR_PETER-IMR7CB9NE:/bin/bash
SYSTEM:S-1-5-18:18:
None:S-1-5-21-796845957-1682526488-1202660629-513:513:

Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
pwrusers:S-1-5-32-547:547:

interactive:S-1-5-4:4:

authentiatedusers:S-1-5-11:5:
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to