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

Path doesn't delete in wsl #4237

Closed
eromoe opened this issue Jun 27, 2019 · 2 comments
Closed

Path doesn't delete in wsl #4237

eromoe opened this issue Jun 27, 2019 · 2 comments

Comments

@eromoe
Copy link

eromoe commented Jun 27, 2019

env : windows 1903
wsl : ubuntu 1804

1

E:\pp\pyspark-jobs is not exist in windows file explorer :

image

image

2

ls doesn't show pyspark-jobs :

➜  /e cd /e/pp
➜  pp ls -al|grep pyspark
drwxr-xr-x 1 root root      4096 Oct 24  2018 pyspark
drwxr-xr-x 1 root root      4096 Jun 13 11:12 pyspark-example-project
drwxr-xr-x 1 root root      4096 Jun 27 14:21 pyspark-jobs1
drwxr-xr-x 1 root root      4096 Jun 27 14:37 pyspark-jobs - 副本

3

But can enter this folder , this folder can not be remove because scripts under it can be remove .

➜  pp cd /e/pp/pyspark-jobs
➜  pyspark-jobs ls -al
total 0
drwxr-xr-x 1 root root 4096 Jun 27 14:45 .
drwxr-xr-x 1 root root 4096 Jun 27 14:44 ..
drwxr-xr-x 0 root root 4096 Jun 25 18:24 scripts
➜  pyspark-jobs rm -rf scripts
rm: cannot remove 'scripts': Directory not empty

I think it maybe some fault with windows deletion .

Since yesterday I can't rename this folder, I have to unlock it and rename by https://lockhunter.com/.

I think this is how the problem come from.
But I have no idea how to solve it .

@therealkenc
Copy link
Collaborator

https://lockhunter.com/.

And now I'm in my sad place. "Our flasgship product USB Safely Remove won "100 Best Products of 2008" award from PCWorld magazine."

#1529

@eromoe
Copy link
Author

eromoe commented Jun 29, 2019

I found the problem .
I was used tmux , actually it is a splited pane at path /e/pp/pyspark-jobs .
Because I ssh to a remote server , didn't aware this pane prevernt the deletion .

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

No branches or pull requests

2 participants