Re: bash root ~/.bash_profile quirk

2007-09-06 Thread Chris F.A. Johnson
On 2007-09-06, asherwolf wrote: > > I have the following in my root ~/.bash_profile: > > PATH=$PATH:$HOME/bin > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6/lib:/usr/local/apr/lib:/usr/lib/httpd/modules > LD_RUN_PATH=$LD_RUN_PATH:/usr/local/lib:/usr/local/BerkeleyDB.4.6

Re: bash root ~/.bash_profile quirk

2007-09-06 Thread Andreas Schwab
asherwolf <[EMAIL PROTECTED]> writes: > When I use su to log into root, PATH is there, LD_RUN_PATH is there, and > PKG_CONFIG_PATH is there, but not LD_LIBRARY_PATH (which makes some of my > programs not cooperate) > > Is there something I'm missing? Why would an environment variable not show > u

Re: script using file dates

2007-09-06 Thread Bob Proulx
marquis wrote: > > I'm looking for an exisiting script, or a command to help w/ > > processing files by date. I have a test website and need to > > upload only the files that have been changed since the last > > upload. I'm thinking of creating a file list and the date of the > > last upload. if

Re: bash root ~/.bash_profile quirk

2007-09-06 Thread asherwolf
Andreas Schwab wrote: > > >>A setuid binary ignores LD_LIBRARY_PATH for security reasons. > > Oh... I didn't know that, but now I do! Thanks! Asher -- View this message in context: http://www.nabble.com/bash-root-%7E-.bash_profile-quirk-tf4389588.html#a12533627 Sent from the Gnu - Bash m

Re: bash root ~/.bash_profile quirk

2007-09-06 Thread asherwolf
On 2007-09-06, asherwolf wrote: > > I have the following in my root ~/.bash_profile: > > PATH=$PATH:$HOME/bin > . > PKG_CONFIG_PATH is there, but not LD_LIBRARY_PATH (which makes some of my > programs not cooperate) >>Are you using "su" or "su -"? I'm using just su... should I use "su -" ?

Re: bash root ~/.bash_profile quirk

2007-09-06 Thread Chris F.A. Johnson
On 2007-09-06, asherwolf wrote: > > On 2007-09-06, asherwolf wrote: >> >> I have the following in my root ~/.bash_profile: >> >> PATH=$PATH:$HOME/bin >> . >> PKG_CONFIG_PATH is there, but not LD_LIBRARY_PATH (which makes some of my >> programs not cooperate) > >>>Are you using "su" or "su -"? >