[lug] ls -l /var/tmp = drwxrwxrwt 16 root root 1478656 Mar 19 10:38tmp

Bob Collins bcollins at fpcc.net
Wed Mar 21 00:12:15 MST 2001


Good Guy wrote:
> 
[snip]

> > I will see if a different directory can be used for
> > the
> > temporary files.
> 
> hi..
> I'm just thinking... may be you can make a symbolic
> link to /usr..
> 
> you can make /usr/tmp with permission drwxrwxrwx then
> make a symbolic link.. ln -s /usr/tmp /var/tmp with
> assumptions /var/tmp doesn't exist
> 
> I already try this trick with my user directory and it
> worked..but never had try for tmp directories..

Hi, I actually tried that recently.  I am doing some things
with MySQL, PHP and HTML, after making the directory and
symbolic link I could no longer run netscape and see my
results.  I was going to look into why that was happening
when I got on the quest to see what was going on in
/var/tmp.

I had no problems with anything else just PHP & HTML.  My
relocated public_html wasn't recognized.
 
> If it works on tmp directories please tell me =)

If I do it, I will certainly let you know.  I would gain a
lot more disk space by moving /home to /usr.
 
> btw: don't forget to umask the tmp directory

umask is a new one for me.  I see there is about a page of
description in my "Learning the bash Shell" book.  I didn't
understand it with my first quick reading of it.  I will dig
deeper.

Thanks for you help.

-- 
   Regards, Bob Collins
Experience is something you don't get until just after you
need it.
		-- Olivier



More information about the LUG mailing list