• Stephen Rothwell's avatar
    [PATCH] utimes permission check · da615ea7
    Stephen Rothwell authored
    The utime and utimes should do exactly the smae permission check
    according to SUSv3.
    	"The effective user ID of the process shall match the owner of the file,
    or has write access to the file or appropriate privileges to use this call
    in this manner."
    
    utimes when passed a NULL second argument would fail on a read only
    file even if the file is owned by the caller.
    da615ea7
open.c 19.1 KB