how to mount tmp partition?

how to mount tmp partition?

Post by Gerald Willman » Thu, 15 Apr 1999 04:00:00



I have unsucessfully tried over the last couple of days to mount a tmp
partition. The mount point has drwxrwxrwt permission but once I mount the
partition that changes to drwxr-xr-x which won't do since normal users
don't have write permission. Tried mount with the -w and -o rw switches
(which should be the default) but to no avail. Any suggestions???
Am I missing something? Mount doesn't accept the umask or mode options for
ext2 btw. Thanks,
                         Gerald
 
 
 

how to mount tmp partition?

Post by jxfau.. » Fri, 16 Apr 1999 04:00:00



> I have unsucessfully tried over the last couple of days to mount a tmp
> partition. The mount point has drwxrwxrwt permission but once I mount the
> partition that changes to drwxr-xr-x which won't do since normal users

The permissions of the mounted device shadow those on the mount point.
Use chmod after your new /tmp is mounted.

 
 
 

1. /var/tmp -> /tmp (was: Anything wrong with just two disk partitions?)

What do people think about doing this:

  ln -s /tmp /var/tmp

to help prevent /var from filling up when someone vi's a huge file.

Alternatively, on a Linux box, what do people think about:

  ln -s /var/tmp /tmp

where /var is a seperate partition.  Any problem with /tmp not being available
immediately at boot?  I suppose that if you boot to single user mode, the
first thing you have to do is either mount /var or create /var/tmp.

Chris.

2. Modem question

3. mount --bind -o ro /tmp /mnt/tmp

4. Any CAD package for linux ??

5. Question on mounting a /tmp partition

6. 4 Megs $60.00 // 8 Megs $123.00 Much more!!!!

7. /tmp vs /usr/tmp vs /var/tmp

8. Phony Hardware Problem

9. How to limit the use of /tmp and /var/tmp by arbitrary users

10. Why is there /tmp in addition to /var/tmp.

11. /tmp/kfm_503* and /tmp/kio_503*

12. Permissions on /tmp or /var/tmp?

13. UNIX QUESTION: how to redefine /tmp and /usr/tmp ?