susmb, branch HEADfork from usmb 20130204: mount SMB/CIFS shares via FUSE
1b3fb6b43b88bfff059230f1d09ea3f81dbbdeee2026-02-23T19:21:05Z2026-02-23T19:22:10Z[0.9] check uid and guid more strictly and improve error messagesHiltjo Posthumahiltjo@codemadness.orgcommit 1b3fb6b43b88bfff059230f1d09ea3f81dbbdeee
parent 7c373a01d301cfedcd1c250467e8d2272b401eb6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 23 Feb 2026 20:21:05 +0100
check uid and guid more strictly and improve error messages
- uid and gid needs to be a whole valid number. It cannot be empty.
- uid == 0 or gid == 0 is checked later for privdrop (cannot privdrop to root).
- Make the error message more clear when the uid or gid is invalid or cannot be found
as a passwd entry.
- clarify documentation: if uid is numeric then the gid needs to be specified
as well.