/srv/irclogs.ubuntu.com/2016/10/19/#ubuntu-us-mi.txt

cmaloneymorning15:30
_stink_not anymore!16:03
cmaloneyJust-in-time-morning16:04
dzhoheh16:48
dzhoit's always morning somewhere16:48
dzho(less relevant for a geographically-specific channel, but w/e)16:48
jrwrenanyone up for some bash help?  my curdir is a symlink to another dir. when I ls .. I see the contents of parent dir of the actual dir instead of the contents of parent of the symlink. why? and how to change this behavior?18:54
rick_h_jrwren: add a / to the dir?18:55
jrwrenrick_h_: same behavior.18:55
jrwrenmaybe shells always did this and I just never realized.18:55
cmaloneyjrwren: Yeah, it's a pita18:56
cmaloneyBut it's working as expected18:57
jrwrenlol. I can't believe in 20yrs I never noticed.18:57
cmaloneyUNIX is the onion that keeps on peeling18:57
cmaloneyand sometimes drives the tears if you're not careful18:58
jrwren*grumble*18:58
jrwrenI mean, I noticed yrs ago and thought it was a bash setting I had screwed up.18:58
jrwrenhrm... shit, now I i'm remembering something about the UFS paper mentioning it.18:58
jrwrenits in the UFS paper that first introduced symlinks, isn't it?18:58
* jrwren dies.18:59
jrwrenI think I'm just having a bad day.18:59
jrwrennevermind me.18:59
cmaloneyEven better: pwd will blow your mind18:59
jrwrenhow so?18:59
cmaloneycraig@lister:~/tmp$ pwd18:59
cmaloney/home/craig/tmp18:59
jrwrenthat doesn't blow my mind.18:59
cmaloneylrwxrwxrwx 1 craig craig 4 Nov  9  2012 tmp -> /tmp18:59
cmaloneyno?19:00
cmaloneynot even a little?19:00
jrwrennope19:00
jrwrensorry.19:00
cmaloney(not even a little kid's cap gun boom?")19:00
cmaloneyThen why did the .. in cwd blow your mind? :)19:01
jrwrenbecause I could have sworn it was configurable behavior.19:01
cmaloneyah19:02
jrwrenbut... maybe it is because I had previously run with set -P and so if I cd into a symlink dir it resolved the symlink and took me there.19:02
cmaloneyThat's possible19:02
cmaloneyOr you were naughty and used hard links.19:02
jrwrencan you hardlink a dir?19:03
jrwrenhard link not allowed for directory19:03
cmaloney       -d, -F, --directory19:03
cmaloney              allow the superuser to attempt to hard link directories (note: will probably fail due to system restrictions, even19:03
cmaloney              for the superuser)19:04
jrwrenah, naughty19:04
jrwrenOperation not permitted19:04
jrwreni guess ext4 doesn't support them.19:04

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!