Path: utzoo!utgpu!cs.utexas.edu!usc!apple!sun-barr!newstop!texsun!convex!news From: tchrist@convex.COM (Tom Christiansen) Newsgroups: alt.sources.d Subject: Re: -x implementations Message-ID: <1991Jan29.153242.12335@convex.com> Date: 29 Jan 91 15:32:42 GMT References: <1943:Jan2619:34:3591@kramden.acf.nyu.edu> <2856@charon.cwi.nl> <8869@star.cs.vu.nl> Sender: news@convex.com (news access account) Reply-To: tchrist@convex.COM (Tom Christiansen) Organization: CONVEX Software Development, Richardson, TX Lines: 18 Nntp-Posting-Host: pixel.convex.com From the keyboard of maart@cs.vu.nl (Maarten Litmaath): :How does Perl implement `-x', Tom? It does its own stat, and then does the bit compares itself to determine accessibility; it does not use access(2). Note that both -x and -X exist for checking effective and real IDs respectively; likewise -r/-R, -w/-W, and -o/-O. Does this solve your problem? Could you show me some, um, test cases where /bin/test fails so I can see what perl does under the same circumstances? --tom ps: Isn't this a much nicer forum now? :-) -- "Hey, did you hear Stallman has replaced /vmunix with /vmunix.el? Now he can finally have the whole O/S built-in to his editor like he always wanted!" --me (Tom Christiansen )