May. 22nd, 2012
Stupid symlink question time!
May. 22nd, 2012 10:46 amIf a symlink is made on a NFS-mounted network folder to a local path, does it actually point to the local path *on each machine*? So if /server/firefox is symlinkied to /usr/bin/firefox, will that run /usr/bin/firefox on the machine that's mounted the NFS folder? The symlink will point to /usr/bin/firefox on the machine of the user calling /server/firefox, and not /usr on the server or on the machine of the person who created the symlink?
******
Unbelievably Dumb Context:
******
Imagine a NFS-mounted folder on a server. This folder is mounted from many workstations, as if it was a local folder called /server/ .
Further, imagine a program installed locally in this folder, which we will call "/server/firefox" for completely no reason and not because it is firefox, no, not at all. Imagine that this program is version 3.6.8, which is way the hell out of date
Further, imagine that installing a newer version simply fails to address the problem at all, since a network-loaded copy isn't getting updates properly and the *newest* of new versions haven't been properly tested and don't work perfectly on all the OSen on the network.
Finally, imagine that somewhere in a labyrinth of terrifying scripts and config files that are used for EVERYTHING, at least one project includes some wacky dumbass scripting that changes the "preferred application" for web pages to /server/firefox, or sometimes adds /server/ to the front of the path, or both.
My goal: force users to run the local copy of firefox on their machine, specifically /usr/bin/firefox, even IF /server/ is at the front of the path before /usr/ and even if their Firefox shortcut has been modified to point to /server/firefox. Without breaking anything else that depends on the asinine path-fuckery and gconf-wanking. Simply deleting /server/firefox doesn't work because then the firefox icon stops working. Will symlinking /server/firefox -> /usr/bin/firefox correctly point to the local /usr/ folder of each client machine?
******
Unbelievably Dumb Context:
******
Imagine a NFS-mounted folder on a server. This folder is mounted from many workstations, as if it was a local folder called /server/ .
Further, imagine a program installed locally in this folder, which we will call "/server/firefox" for completely no reason and not because it is firefox, no, not at all. Imagine that this program is version 3.6.8, which is way the hell out of date
Further, imagine that installing a newer version simply fails to address the problem at all, since a network-loaded copy isn't getting updates properly and the *newest* of new versions haven't been properly tested and don't work perfectly on all the OSen on the network.
Finally, imagine that somewhere in a labyrinth of terrifying scripts and config files that are used for EVERYTHING, at least one project includes some wacky dumbass scripting that changes the "preferred application" for web pages to /server/firefox, or sometimes adds /server/ to the front of the path, or both.
My goal: force users to run the local copy of firefox on their machine, specifically /usr/bin/firefox, even IF /server/ is at the front of the path before /usr/ and even if their Firefox shortcut has been modified to point to /server/firefox. Without breaking anything else that depends on the asinine path-fuckery and gconf-wanking. Simply deleting /server/firefox doesn't work because then the firefox icon stops working. Will symlinking /server/firefox -> /usr/bin/firefox correctly point to the local /usr/ folder of each client machine?
A slice of life.
May. 22nd, 2012 07:56 pmMe: I appear to be infested with unicorns.
cosmiccat: Unicorns are beautiful, majestic creatures whose meat and bones are of above-average value.
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
(no subject)
May. 22nd, 2012 08:27 pmKansas middle-school "social studies" teacher: "homosexuality is murder"
torrain: "In my brain, he explains this while wearing a poly-cotton blend shirt."
![[livejournal.com profile]](https://www.dreamwidth.org/img/external/lj-userinfo.gif)
(no subject)
May. 22nd, 2012 09:31 pmHouse: 8 seasons.
Scrubs: 8 seasons.
House: Main character is a dick.
Scrubs: Main character is a dick.
House: Bromance with best friend.
Scrubs: Bromance with best friend.
House: Unrealistically attractive blonde secondary character.
Scrubs: Unrealistically attractive blonde secondary character.
House: Excellent series finale.
Scrubs: Excellent series finale.
Scrubs: Season 9, med school.
I'm just saying, House had better *stay gone*, y'know?
Scrubs: 8 seasons.
House: Main character is a dick.
Scrubs: Main character is a dick.
House: Bromance with best friend.
Scrubs: Bromance with best friend.
House: Unrealistically attractive blonde secondary character.
Scrubs: Unrealistically attractive blonde secondary character.
House: Excellent series finale.
Scrubs: Excellent series finale.
Scrubs: Season 9, med school.
I'm just saying, House had better *stay gone*, y'know?