lchmod(*args)
public
Equivalent to File::chmod, but does not follow symbolic links (so it will
change the permissions associated with the link, not the file referenced by
the link). Often not available.
Show source
static VALUE
rb_file_s_lchmod(int argc, VALUE *argv)
{
mode_t mode;
apply2args(1);
mode = NUM2MODET(*argv++);
return apply2files(lchmod_internal, argc, argv, &mode);
}