Lev Lafayette via luv-main <[email protected]> writes: > Note that the two directories have the same inode. > > # ls -id /home/username/ > 1081162059 /home/sanujig/ > > ]# ls -id /data/user2/username > 1081162059 /data/user2/username > > Fascinating, eh?
Ok, going to respond to the easiest part first. That is actually expected behaviour for symlinks. Because you had a slash at the end of the directory, you dereference the symlink first, so you get the directory entry in both cases. % ln -s vpac vpac2 % ls -l vpac2 lrwxrwxrwx 1 brian brian 4 Jan 18 13:12 vpac2 -> vpac % ls -id vpac2/ 7476864 vpac2/ % ls -id vpac/ 7476864 vpac/ % ls -id vpac2 22807075 vpac2 -- Brian May <[email protected]> https://linuxpenguins.xyz/brian/ _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
