On Thu, Jun 21, 2001 at 09:03:20PM +0000, joe golden wrote: > Hello, > > I am trying to get staroffice up and running. > > /tmp on root partition was too small, SO install was filling /tmp. > > repartitioned drive gave /tmp 300MB on /dev/hda9. > > why is this file system coming up read only? > > ls -l shows drwxr-xr-x on /tmp, owner root, group root when system boots up. > I had to manually chmod 777 /tmp as root to be able to write to /tmp as a > normal user.
chmod 1777 /tmp NOW. you have a HUGE SECURITY HOLE with simply 0777 permissions. > What did I do?? when a new filesystem is created the permissions on its root directory are set to 0755 by default. normally thats correct, but /tmp and /var/tmp are special so you have to chmod 1777 (not 777) them to set correct permissions. the root directory of a filesystem is no different then any other directory. -- Ethan Benson http://www.alaska.net/~erbenson/
pgpcju754UAfm.pgp
Description: PGP signature