[Toybox] [PATCH] chmod.c: mask out the file type bits.

enh enh at google.com
Tue Dec 15 10:54:47 PST 2020


The kernel will do this for us on both Linux and macOS, but error
messages are a bit misleading if we don't do it ourselves --- it
can look as if the failure is because of the type bits.
---
 toys/posix/chmod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201215/7ca966eb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-chmod.c-mask-out-the-file-type-bits.patch
Type: application/octet-stream
Size: 1012 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20201215/7ca966eb/attachment-0002.obj>


More information about the Toybox mailing list