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

Hardlinks not properly supported and fail silently #168

Open
angrave opened this issue May 9, 2016 · 1 comment
Open

Hardlinks not properly supported and fail silently #168

angrave opened this issue May 9, 2016 · 1 comment
Assignees

Comments

@angrave
Copy link
Contributor

angrave commented May 9, 2016

Steps to reproduce

echo 'blahblah' > file1
ln file1 file2
ls -i file1 file2
#Expect both files to have the same inode number.
#Instead a new 'strange' file is created (see below); 
cat file2
#Expect to see blablah
echo foo >>file2
#The above fails with permission denied! Instead we expect the file contents  to be blahblahfoo

FYI Minor followup: Make sure new links also appear in the file browser (they don't)
FYI This also fails in a similar fashion if the hard link is created from C using link(2).
FYI A quick test of symbolic links suggest they work as expected.
FYI No difference in behavior between /sys and staging

@neelabhg
Copy link
Member

neelabhg commented May 9, 2016

I could reproduce this on http://jor1k.com as well. I'll open an issue upstream.

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