Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Re: zsh tests (dev-15)
- X-seq: zsh-workers 10083
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxxxxxxxx>, Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: Re: zsh tests (dev-15)
- Date: Sun, 12 Mar 2000 04:12:45 +0000
- In-reply-to: <38CAAF7B.6330EA2B@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <E12B18w-0007Wp-00.2000-01-19-19-51-50@xxxxxxxxxxxxxxxxxxxxx> <38CAAF7B.6330EA2B@xxxxxxxxxxxxx>
On Mar 11, 8:41pm, Oliver Kiddle wrote:
} Subject: PATCH: Re: zsh tests (dev-15)
}
} After a quick look at some man pages, it seems that Linux maybe doesn't
} have faccessx(). Is this right? Is there an alternative? Does anyone
} know if there are any platforms which don't have faccessx
I found the following on a Google-cached copy of a web page about hacking
into linux systems by exploiting "find ... -exec rm {} \;" as run by cron.
It would appear that faccess() and faccessx() [and by extension probably
accessx() as well] are strictly IBM-isms.
----------------------------------------------------------------
Here is a comparison of some related calls between various OSes:
Linux* AIX 3.2 Sunos 4.1.3 Solaris 2.5
chown() Y Y Y Y
fchown() Y Y Y Y
lchown() N N N Y
chmod() Y Y Y Y
fchmod() Y Y Y Y
lchmod() N N N N
stat() Y Y Y Y
lstat() Y Y Y Y
fstat() Y Y Y Y
fstatx() N Y N N
flstat() N N N N
access() Y Y Y Y
faccess() N Y N N
faccessx() N Y N N
----------------------------------------------------------------
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author