datamodel: types: files: improvements and fixes
- server.py: Check if server is starting under the default intended user.
- files.py: Use
os.getuid()
andpwd.getpwuid()
instead ofos.getlogin()
, fixes #919 (closed) - datamodel:
permissions_default
added to global validation context- It is used to check rwx permissions against the default user or the user currently running as.