Disable file trash storage in JupyterLab #220
Labels
ADE
Algorithm Development Environment Subsystem
Enhancement
New feature or request
JPL
JPL related issues
The Ops ADE reached maximum storage capacity recently when a user generated 1TB worth of h5 files in a local workspace. Even after deleting these files, the storage usage remain unchanged after Jupyter moved the deleted files into the system's trash folder. See this PR for info on this behavior: jupyter/notebook#1968 (comment)
To prevent unintended caching of deleted files, we can set the
delete_to_trash
config setting insend2trash
library tofalse
. This will prevent users from being able to recover files that may get deleted accidentally. However, the convention in MAAP is to store critical data inside of a S3-backed user folder, which mitigates this potential risk.The text was updated successfully, but these errors were encountered: