Vasilii Kolobkov on Nostr: firefly My bad, sorry, was sleepy. The umask(2) call *sets* the mask to the given ...
firefly (npub16a3…hqv6) My bad, sorry, was sleepy.
The umask(2) call *sets* the mask to the given value. The ANDing with the negative takes place in the calls governed by the value of the mask, e.g. at the time of open(2).
Furthermore, if it was due to semantics of the umask, then it still won't explain why the two original lines where producing different results.
Since they differ only in presence of pipe, it seems only reasonable to surmise that it's the contexts of the umask(2) calls that differs.
Published at
2023-12-30 20:33:42Event JSON
{
"id": "23d0e9d09028b518a55840d728f4c0fce41a257b8402428d2fdad38bddf44c91",
"pubkey": "72c6e70b8564c6cc961a66b3e1dc0195752997c94701b5795f645609509e778c",
"created_at": 1703968422,
"kind": 1,
"tags": [
[
"p",
"d7622a3a48574b812afd419b77620abc2babde361e4088cad63b1622a7e7914e",
"wss://relay.mostr.pub"
],
[
"e",
"ab1c6eeea34c376a86222b6cd2fd2d1ed2d3d1d7cb5cce71a2494d48df622bac",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://chaos.social/users/polezaivsani/statuses/111671274558119039",
"activitypub"
]
],
"content": "nostr:npub16a3z5wjg2a9cz2hagxdhwcs2hs46hh3kreqg3jkk8vtz9fl8j98qadhqv6 My bad, sorry, was sleepy.\n\nThe umask(2) call *sets* the mask to the given value. The ANDing with the negative takes place in the calls governed by the value of the mask, e.g. at the time of open(2).\n\nFurthermore, if it was due to semantics of the umask, then it still won't explain why the two original lines where producing different results.\n\nSince they differ only in presence of pipe, it seems only reasonable to surmise that it's the contexts of the umask(2) calls that differs.",
"sig": "c9ffe17f0db42d514637cb3bf89266f3cae61a8bcc5fa5115f1ed9d0fb8946887483dad0c6b09914814f1ff038663d466a07e9e13be792d534b5088c3c403067"
}