ts-7000
[Top] [All Lists]

Re: [ts-7000] Initial permissions for ramfs

To:
Subject: Re: [ts-7000] Initial permissions for ramfs
From: Jim Jackson <>
Date: Thu, 30 Mar 2006 13:16:07 +0100 (BST)


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/
 



<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU