Hi,
In message "[ruby-talk:6288] lchown()/etc. and Unix syscall completeness"
on 00/11/12, "Brian F. Feldman" <green / FreeBSD.org> writes:
|Ruby as it is now isn't very consistent with the system calls it provides.
In fact, POSIX.1 is inconsistent. sigh.
|Many system call wrappers are provided, indeed most of the ones that I need.
|For example, I need File.stat, and I also need File.lstat; they're both
|there. But other useful ones are missing. File.chmod and File.chown are
|there, but the l-prefixed syscalls like File.lchmod and File.lchown are
|missing.
Because I'm not omniscient, of course, there should be the things like
this time to time. It tends to be slow to introduce non-POSIX system
calls, but I don't mean I say no to them. Even fchown is not among
POSIX.1. Anyway I ask you (and others) to provide enough information
for me to decide how should I (Ruby) handle each of these syscalls on
the platforms where they are not available.
And syscalls proposing are lchown and lchmod?
matz.