-
Notifications
You must be signed in to change notification settings - Fork 93
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
[ENH] - Move hidden login files to a single directory #1899
Comments
I'm not sure why this file is being created...
Another option might include running a script that clears this file everything the user logs in (this results in a single file being present after each login). |
The filename a date and a hash, its not constant. I guess you could exclude files that start with the year, but that seems dangerous.
That could work with some regex, but I think we need to understand what is creating this file and why is it being created. |
I have been using Nebari with the POSSEE genai-numpy project, and I have the same issue. The new folder that gets created with every login causes a problem for me on both VS code and JupyterLab, provided you make hidden files visible on JupyterLab (I always prefer to have hidden files visible). Placing these folders in a single directory would be great. The folders and files are owned by root, with group permission root, so there's no way a user without root access can do anything to them. |
I think the first step here is to explore why these files exist in the first place. If we don't actually use or need them for any reason, then it would be best just to avoid writing them in the first place. |
This is an implementation detail caused by the way kubernetes mounts configmaps. We were then copying those extra files to the home directory from the init container. I've opened a PR that fixes this going forwards. You'd still need to ask an admin to delete any accumulated files for you. |
Feature description
Every time you log into nebari, a hidden directory is created with the
.bash_logout
,.bashrc
, and.profile
in the home directory. From the Jupyter UI you can't see any of these hidden directories, but from vs code...I've been on this deployment for a little over a month and I already have 184 of these. It makes using VS Code pretty frustrating when you have to scroll past all of these.
I propose that we store these files in a SINGLE hidden directory off of home.
Value and/or benefit
Happy VS Code users.
Anything else?
No response
The text was updated successfully, but these errors were encountered: