On Thu, 30 Mar 2006, Tom Hansen wrote:
> I am using the ts9 kernel on a TS-7250.
>
> I have the following line in my /etc/fstab file:
>
> ramfs /tmp ramfs mode=1777 0 0
>
> However, the /tmp directory always comes up with permissions of 755:
>
> ~ $ dir /tmp
> drwxr-xr-x 1 root root 0 Mar 29 22:11 ./
> drwxr-xr-x 1 root root 512 Dec 31 1969 ../
> ~ $
It could just be that the mode options is not supported in the busybox
version you are using. In fact I've just googled and it looks like the
mode option is not supported.
> I have even tried hacking a "chmod 1777 /tmp" onto the end of
> /etc/rc.d/rcS.sysinit, with no effect!
This is strange - but it could be being overwritten by any subsequent
mount -a . My ts7200 shows a couple of these in /etc/init.d/portmap
and if I remember right the -t option didn't work right in some early
versions of busybox, and a mount -a anything always does a mount all
> The only thing that works so far is to simply type "chmod 1777 /tmp"
> at a root shell after booting. I suppose I could create a S99fixtmp
> in /etc/rc.d/rc3.d but that is just too ugly!
>
> The mode=1777 thing should work. Why doesn't it?
Jim
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|