Lernstick / glados

The exam server webinterface
https://glados-doc.readthedocs.io/en/latest/
Other
8 stars 4 forks source link

Screenshots not taken #67

Closed sm8ps closed 5 years ago

sm8ps commented 5 years ago

Using Prüfungsstick based on Lernstick version 2019-06-10, no screenshots are taken although the respective setting is two minutes in the Glados web-interface.

chaoos commented 5 years ago

This has been changed in the new Lernstick and is not yet adapted to Glados.

sm8ps commented 5 years ago

Do you think this is going to be adapted back into Lernstick? I think this is one the most important pieces when it comes to deal with possible cheating on an exam.

chaoos commented 5 years ago

It IS still in the Lernstick, its just that the directory to store the screenshots has been changed in the sense that it can be configured now (I don't remember the name of the config options right now). If nothing is configured (but screenshot enabled) the screenshots will be in /.Screenshots, and this is not in the user home directory anymore, which is backed up by glados.

sm8ps commented 5 years ago

OK, I see. So Glados will backup the screenshots separately from the specified backup path, right?

chaoos commented 5 years ago

No, the screenshots are produced from Lernstick itself, with the same mechanism. It's just that the path is not fixed anymore and the directory has another name. So Glados does not know where they are, and even whether they are backed up or not (they need to be in the backup path for this, see https://github.com/imedias/glados/blob/master/howtos/remote-backup-path.md).

sm8ps commented 5 years ago

Thanks for the explanation! The way you state it makes sense. No need for the bug label from my point of view.

One thing I would like to bring up: as said, screenshots are important in fighting against cheating as they are hard to fake. From that point of view it would make sense to have them outside of the user's home directory and without the user's permission to delete them. That seems to call for a separate location and thus a separate/additional backup procedure, doesn't it?

chaoos commented 5 years ago

No, the directory was already only readable by root, the user had no access to it. The only thing was that the directory being visible in the user home directory although not accessible, was misleading/confusing for the user. That's why it became a dotted directory, and the teacher has the possibility to place it wherever desired. For Glados it still needs to be in the backup path - the user home directory. When setting up the client system for the exam, Glados needs to configure the new screenshot mechanism correctly, such that they end up in the path being backed up. However, this will be in 1.0.6, you don't have to worry about that. I hope you can work without screenshots until then.

A workaround in the meantime could be, to use a squashfs filesystem and configure:

Then the screenshots will end up in the correct location /home/user/Screenshots, and Glados is abe to show them in the webinterface

sm8ps commented 5 years ago

Great, thanks! I realize that I still not seeing the exact dividing lines between Lernstick, Prüfungsstick and Glados...

BTW, I did not mean to close it with my last post but my case is closed now.