Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config PISERVER_DATADIR to decide other location #147

Open
marcco134 opened this issue Feb 28, 2022 · 1 comment
Open

config PISERVER_DATADIR to decide other location #147

marcco134 opened this issue Feb 28, 2022 · 1 comment

Comments

@marcco134
Copy link

I saw in config.h that there is already the idea of defining "PISERVER_DATADIR" but I think it's not already finished. (finding very often hard-coded "/var/lib/piserver". It would be great to have this feature realized because it could improve security aspects by moving all data's to a crypted place (device, folder, img ...)

I'm also wondering why my work-around does not work:

mount -o bind /mnt/crypt/piserver/ /var/lib/piserver/
or even
mount -o bind /mnt/crypt/var/ /var/

pi's don't start

@maxnet
Copy link
Collaborator

maxnet commented Feb 28, 2022

Not sure what security problems you are trying to solve.

  • The operating system files that live under /var/lib/piserver/os are shared publicly (read-only) to everyone on the network, without any authentication whatsoever.
    Not sure what the point is in encrypting the files you share publicly. :-)

Private information like the LDAP authentication database, as well as user's home directories live outside /var/lib/piserver...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants