#49 ln does not link write protected files

open
nobody
None
5
2009-03-13
2009-03-13
Anonymous
No

When trying to create a link on an write protected file ln.exe says that there is no such file or directory.

G:\>ln.exe g:\test.txt g:\link.txt
ln.exe: cannot create link `g:\link.txt´ to `g:\test.txt´: No such file or directory

fsutil ("fsutil hardlink create g:\link.txt g:\test.txt" (switched order of parameters!!!)) does but requires admin-rights to do its job.

Not sure whether this is a bug or by design or required by ntfs (obviously not as fsutil can do this) but it would be really cool if it would be possible.

Thanks sc911 @ gmx.de

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks