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

Inconsistent file permisions for /home/jupyter-user #58

Open
mtmorgan opened this issue Nov 19, 2019 · 1 comment
Open

Inconsistent file permisions for /home/jupyter-user #58

mtmorgan opened this issue Nov 19, 2019 · 1 comment

Comments

@mtmorgan
Copy link

It seems like all files under /home/jupyter-user should belong to jupyter-user, but some are owned by root

[1] "total 68"                                                               
 [2] "drwxr-xr-x  1 jupyter-user users 4096 Nov 19 11:01 ."                   
 [3] "drwxr-xr-x  1 root         root  4096 Oct 24 17:28 .."                  
 [4] "-rw-r--r--  1 jupyter-user users  220 Jan  1  2000 .bash_logout"        
 [5] "-rw-r--r--  1 jupyter-user users 3836 Oct 24 17:33 .bashrc"             
 [6] "drwxr-xr-x  1 root         root  4096 Oct 24 17:32 .cache"              
 [7] "drwxr-xr-x  2 root         root  4096 Oct 24 17:33 .conda"              
 [8] "drwxrwxr-x  3 jupyter-user users 4096 Nov 19 11:01 .config"             
 [9] "drwxr-xr-x  2 root         root  4096 Oct 24 17:34 .cookiecutter_replay"
[10] "drwxr-xr-x  3 root         root  4096 Oct 24 17:34 .cookiecutters"      
[11] "drwxr-xr-x  1 jupyter-user users 4096 Oct 24 17:34 .jupyter"            
[12] "drwxr-xr-x  1 jupyter-user users 4096 Oct 24 17:34 .local"              
[13] "drwxr-xr-x 16 root         root  4096 Oct 24 17:33 miniconda"           
[14] "drwxrwxrwx  6 root         root  4096 Nov 19 11:00 notebooks"           
[15] "drwxr-xr-x  3 root         root  4096 Oct 24 17:34 .npm"                
[16] "-rw-r--r--  1 jupyter-user users  807 Jan  1  2000 .profile"            
[17] "-rw-r--r--  1 jupyter-user users   37 Oct 24 17:59 .Renviron"           
[18] "drwxr-xr-x  1 jupyter-user users 4096 Nov 19 11:12 .rpackages"  

This causes problems when, for instance, an application tries to use a standard location ~/.cache/... as a file cache.

@rtitle
Copy link
Collaborator

rtitle commented Dec 13, 2019

@mtmorgan you are right, this doesn't seem ideal. We previously enforced that everything under /home/jupyter-user was owned by jupyter-user, this may have changed in the new image stack. We'll look into it..

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