delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/13/13:25:59

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
From: "P.B. Dushkin" <pbd22 AT cam DOT ac DOT uk>
To: cygwin AT cygwin DOT com
Subject: resolving file access permissions...
Date: 13 Jun 2003 18:24:33 +0100
X-Originating-IP: [131.111.128.110]
Mime-Version: 1.0
Message-Id: <E19QsHx-0000hd-Ec@maroon.csi.cam.ac.uk>

---1870856712-1804289383-1055525073=:23381
Content-Type: text/plain; format=flowed; charset=ISO-8859-1

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


---1870856712-1804289383-1055525073=:23381
Content-Type: text/plain; name=passwd
Content-Disposition: attachment; filename=passwd
Content-Description: passwd
Content-Transfer-Encoding: BASE64

U1lTVEVNOio6MTg6NTQ0OixTLTEtNS0xODo6CkFkbWluaXN0cmF0b3JzOio6
NTQ0OjU0NDosUy0xLTUtMzItNTQ0OjoKQWRtaW5pc3RyYXRvcjp1bnVzZWRf
YnlfbnQvMjAwMC94cDo1MDA6NTEzOlUtREVOQUxJXEFkbWluaXN0cmF0b3Is
Uy0xLTUtMjEtNzk2ODQ1OTU3LTE2ODI1MjY0ODgtMTIwMjY2MDYyOS01MDA6
L2hvbWUvQWRtaW5pc3RyYXRvcjovYmluL2Jhc2gKR3Vlc3Q6dW51c2VkX2J5
X250LzIwMDAveHA6NTAxOjUxMzpVLURFTkFMSVxHdWVzdCxTLTEtNS0yMS03
OTY4NDU5NTctMTY4MjUyNjQ4OC0xMjAyNjYwNjI5LTUwMTovaG9tZS9HdWVz
dDovYmluL2Jhc2gKUGV0ZXIgRHVzaGtpbjp1bnVzZWRfYnlfbnQvMjAwMC94
cDoxMDAwOjUxMzpQZXRlciBEdXNoa2luLFUtREVOQUxJXFBldGVyIER1c2hr
aW4sUy0xLTUtMjEtNzk2ODQ1OTU3LTE2ODI1MjY0ODgtMTIwMjY2MDYyOS0x
MDAwOi9ob21lL1BldGVyIER1c2hraW46L2Jpbi9iYXNoCnNzaGQ6dW51c2Vk
X2J5X250LzIwMDAveHA6MTAwMjo1MTM6c3NoZCBwcml2c2VwLFUtREVOQUxJ
XHNzaGQsUy0xLTUtMjEtNzk2ODQ1OTU3LTE2ODI1MjY0ODgtMTIwMjY2MDYy
OS0xMDAyOi92YXIvZW1wdHk6L2Jpbi9iYXNoClZVU1JfUEVURVItSU1SN0NC
OU5FOnVudXNlZF9ieV9udC8yMDAwL3hwOjEwMDE6NTEzOlZTQSBTZXJ2ZXIg
QWNjb3VudCxVLURFTkFMSVxWVVNSX1BFVEVSLUlNUjdDQjlORSxTLTEtNS0y
MS03OTY4NDU5NTctMTY4MjUyNjQ4OC0xMjAyNjYwNjI5LTEwMDE6L2hvbWUv
VlVTUl9QRVRFUi1JTVI3Q0I5TkU6L2Jpbi9iYXNoCg==
---1870856712-1804289383-1055525073=:23381
Content-Type: text/plain; name=group
Content-Disposition: attachment; filename=group
Content-Description: group
Content-Transfer-Encoding: BASE64

U1lTVEVNOlMtMS01LTE4OjE4OgpOb25lOlMtMS01LTIxLTc5Njg0NTk1Ny0x
NjgyNTI2NDg4LTEyMDI2NjA2MjktNTEzOjUxMzoKDQpBZG1pbmlzdHJhdG9y
czpTLTEtNS0zMi01NDQ6NTQ0OgpCYWNrdXAgT3BlcmF0b3JzOlMtMS01LTMy
LTU1MTo1NTE6Ckd1ZXN0czpTLTEtNS0zMi01NDY6NTQ2OgpQb3dlciBVc2Vy
czpTLTEtNS0zMi01NDc6NTQ3OgpSZXBsaWNhdG9yOlMtMS01LTMyLTU1Mjo1
NTI6ClVzZXJzOlMtMS01LTMyLTU0NTo1NDU6CnB3cnVzZXJzOlMtMS01LTMy
LTU0Nzo1NDc6Cg0KaW50ZXJhY3RpdmU6Uy0xLTUtNDo0OgoNCmF1dGhlbnRp
YXRlZHVzZXJzOlMtMS01LTExOjU6Cg==

---1870856712-1804289383-1055525073=:23381
Content-Type: text/plain; charset=us-ascii

--
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/
---1870856712-1804289383-1055525073=:23381--

- Raw text -


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