are u root?
On Tue, Mar 31, 2009 at 5:05 PM, Amol Lad <
amol.lad@gmail.com> wrote:
> Hi,
>
> It seems yaffs2 is not honoring file permissions. Below always works
>
> # touch file
> # ls -l file
> -rw-r--r-- file
> # chmod u-w x
> # ls -l file
> -r--r--r-- file
> # echo 1 > file
> # cat file
> 1
> # echo2 > file
> # cat file
> 2
>
> Is there a way to set readonly permission on files ?
>
> --
> Amol
> Sent from Bangalore, KA, India
>
> _______________________________________________
> yaffs mailing list
> yaffs@lists.aleph1.co.uk
> http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>
--
杜中栋
嵌入式(底层软件 linux)
福州 星网锐捷 通讯研发部
手机: 15980286926