Re: two questions on file modes
Lassi Kortela 26 Jul 2020 19:39 UTC
Since POSIX is the main inspiration for this SRFI, how about:
(set-file-mode fname/port/fdes mode-bits)
* fname - chmod()
* port/fdes - fchmod()
(set-file-owner fname/port/fdes uid gid)
* fname - chown()
* port-fdes - fchown()
uid and/or gid can be #f for no change