summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py
diff options
context:
space:
mode:
authorbwarsaw2000-09-14 05:11:59 +0000
committerbwarsaw2000-09-14 05:11:59 +0000
commit1612591fff2e61fd1d90bf05c723911a17dd7c05 (patch)
tree8107c55790edc959c80bcc471279d4e421b8709d /Mailman/pythonlib/cgi.py
parente037ef2eb64378879125f3d61e76e5a369557f16 (diff)
downloadmailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.tar.gz
mailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.tar.zst
mailman-1612591fff2e61fd1d90bf05c723911a17dd7c05.zip
locked(): Suppose we try to touch() the lock file, but we don't own
it, and in fact our alter-ego owns the file (e.g. the cgi process or shell account uid if we're mail). The utime() call will fail with an EPERM which wasn't being caught. Catch it here and return 0 since we obviously don't own the lock. TBD: should other calls to __touch() be similarly wrapped?
Diffstat (limited to 'Mailman/pythonlib/cgi.py')
0 files changed, 0 insertions, 0 deletions