• src/sbbs3/js_global.c nopen.c src/xpdev/semfile.c

    From Rob Swindell (on Windows)@VERT to Git commit to main/sbbs/master on Wed May 24 13:14:35 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/77fd082f8f701eecc4071a7căModified Files:ă src/sbbs3/js_global.c nopen.c src/xpdev/semfile.căLog Message:ăResolve failure to touch files when non-owner on *nix

    ftouch(), semfile_signal(), and JS file_utime() would fail to update a file's access/mod times with errno=EPERM if not run as the file's owner. From "man utime":

    EPERM times is not NULL, the caller's effective UID does not match the owner of the file, and the caller is not privileged (Linux: does not have the CAP_FOWNER capability).

    So use a NULL times parameter value when updating to a file's time stamp(s) to the current time.ă---ă ț Synchronet ț Vertrauen ț Home of Synchronet ț [vert/cvs/bbs].synchro.netă