IKSG / nsf-file-server

SFTP server backed by an NSF
Apache License 2.0
3 stars 0 forks source link

Add POSIX permission info #6

Open jesse-gallagher opened 4 years ago

jesse-gallagher commented 4 years ago

This should either be based on defaults for files/folders or something actually configurable in the store. The former probably makes the most sense, but maybe there'd be interesting applications for actually supporting storage of attributes.

jesse-gallagher commented 4 years ago

It may be reasonable enough to just add a "POSIX Attributes" field and support it in-code only, but it may make sense to tweak reader and author fields appropriately to match.

Directories will need special handling, too - currently, there's no enforcement of creating or reading children inside a directory based on anything to do with the dir itself.