One more point: wouldn't it be even better to have the file opened with the permissions decided by the local file system, in general by umask, as it happens when touching a new file? I mean instead of hard coding 644, although in the vast majority of cases 0644 is indeed what we want (and the default umask is 022).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1