> > I note that 'touch foo' when foo is a broken symlink will create the > > link destination if possible (though without making any directories, > > obviously). > > POSIX requires this, but it is arguably a misfeature, due to the > security issues mentioned. Perhaps we should add an option to "touch" > to disable it?
See my earlier reply to why I think POSIX requires the exact opposite - that `touch dangling' must fail, not create the new file pointed to by dangling. -- Eric Blake _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils