snarlydwarf;212809 Wrote: 
> As root:
> chown root.root /tmp
> chmod 1777 /tmp
> 
> That should make /tmp look like (with "ls -ld /tmp"):
> drwxrwxrwt 13 root root 4096 2007-07-06 09:39 /tmp
> which is what you want.  root owns it, anyone can create files there,
> but only owner of the file can delete it/modify etc.  (that is what the
> "t" permission does on directories.)

Thanks for that, and for the explanation.  I made those changes but the
problem persists (and I believe '/tmp' already had the correct
permissions after all, since the 'ls' output didn't change).  So I
guess it's not a permissions problem!

> 10M is pretty small for free space on /tmp.  I don't know what
> slimserver/mysql use there, but I get paged by my servers as an
> emergency if it's less than 30M free.  Is the partition that small?  Or
> is there some junky log file or something that could be deleted?  I
> would feel claustrophobic with that little.   (And, yes, mysql uses
> /tmp for making files when it is doing some operations.)

It's the partition -- all the partitions were set up for me by
installing 'FreeLink'
(http://www.linkstationwiki.net/index.php/FreeLink_for_the_Linkstation_Pro),
which replaces the LS Pro's firmware and installs a Debian distribution.
Space is tight on the primary partition, and I didn't re-partition
after installing (although now I wish I had!) -- I just moved large
libraries into a partial mirror on the big data partition and linked to
them from the directories in /var, /usr and so on.

Here's what 'df' says:

Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  10M  224K  9.8M   3% /tmp

Might that be in RAM, and not on the disk at all?

I'm wondering whether I might be able to point /tmp at a location
somewhere on the big data partition.  I'll give that a whirl later
(although if I can't do it while the system is running, I may need to
wait a bit).

Thanks for your help!


-- 
smst
------------------------------------------------------------------------
smst's Profile: http://forums.slimdevices.com/member.php?userid=752
View this thread: http://forums.slimdevices.com/showthread.php?t=36623

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to