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 behavior when removing and possibly modifying symlinks #94

Open
hermit-crab opened this issue Apr 30, 2018 · 0 comments
Open

Comments

@hermit-crab
Copy link

After I create and then unlink a symlink any further actions on that path and on the parent path is broken:

~ > ln -s /tmp /run/user/1000/megafuse/mnt/mylink
~ > stat /run/user/1000/megafuse/mnt/mylink
  File: /run/user/1000/megafuse/mnt/mylink -> /tmp
  Size: 1         	Blocks: 0          IO Block: 4096   symbolic link
Device: 31h/49d	Inode: 68          Links: 1
Access: (0666/lrw-rw-rw-)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 1970-01-01 04:00:00.000000000 +0400
Modify: 2018-04-30 23:02:57.000000000 +0400
Change: 1970-01-01 04:00:00.000000000 +0400
 Birth: -
~ > rm /run/user/1000/megafuse/mnt/mylink
~ > ln -s /tmp /run/user/1000/megafuse/mnt/mylink
ln: failed to create symbolic link '/run/user/1000/megafuse/mnt/mylink': No such file or directory
~ > ls -l /run/user/1000/megafuse/mnt
ls: cannot access '/run/user/1000/megafuse/mnt/mylink': No such file or directory
?????????? ? ?    ?            ?            ?  mylink
drwxrwxrwx 1 root root      4096 Jun 29  2017 'Camera Uploads'
...

For now going to opt out of using symlincs there completely.

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

1 participant