[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] set sticky bit when creating /var/tmp mount-point



Ethan Benson <erbenson@alaska.net> writes:

> On Tue, Nov 13, 2001 at 10:53:16PM +1300, Mark van Walraven wrote:
> > partition_config::mount_partition() uses mode 01777 when creating /tmp
> > as a mount-point, but doesn't for /target/var/tmp.  A fix is:
> 
> what good will this do?  the permissions of the mount point
> directory are irrelevant as they will be replaced by the permissions
> of the root directory of the mounted filesystem.

It enables the use of vi for non-root users even when /var/tmp isn't
mounted ... uh ...

No, actually, if you use tmpfs for /var/tmp, it will use the same
permissions as the mount point, since there is no other place to store
that persistent configuration.


Kjetil T.



Reply to: