Estou acessando um dispositivo via SSH. Eu gostaria de alterar um arquivo no diretório www
, mas ao tentar fazer isso, ele diz Read-only file system
.
mount
me fornece algumas informações, mas não consigo ver nenhuma referência a www
, por que www
é RO ou como www
é montado:
admin@(none):/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=127752k,nr_inodes=31938,mode=755)
proc on /proc type proc (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
Não tem nada para fazer, mas tenho permissões para escrever o arquivo:
drwxr-xr-x 14 admin root 5999 May 27 05:17 www
O que eu posso fazer?
admin@(none):/# ls -l /
drwxr-xr-x 2 admin root 3 May 27 05:17 asus_jffs
drwxr-xr-x 2 admin root 667 May 27 05:12 bin
drwxr-xr-x 2 admin root 3 May 27 05:17 cifs1
drwxr-xr-x 2 admin root 3 May 27 05:17 cifs2
drwxr-xr-x 5 admin root 1580 Nov 8 18:46 dev
lrwxrwxrwx 1 admin root 7 May 27 05:17 etc -> tmp/etc
lrwxrwxrwx 1 admin root 8 May 27 05:17 home -> tmp/home
drwxr-xr-x 5 admin root 0 Nov 8 20:19 jffs
drwxr-xr-x 3 admin root 402 May 27 05:17 lib
lrwxrwxrwx 1 admin root 9 May 27 05:17 media -> tmp/media
drwxr-xr-x 2 admin root 3 May 27 05:17 mmc
lrwxrwxrwx 1 admin root 7 May 27 05:17 mnt -> tmp/mnt
lrwxrwxrwx 1 admin root 7 May 27 05:17 opt -> tmp/opt
dr-xr-xr-x 97 admin root 0 Jan 1 1970 proc
drwxr-xr-x 7 admin root 766 May 27 05:17 rom
lrwxrwxrwx 1 admin root 13 May 27 05:17 root -> tmp/home/root
drwxr-xr-x 2 admin root 2566 May 27 05:17 sbin
drwxr-xr-x 11 admin root 0 Jan 1 1970 sys
drwxr-xr-x 2 admin root 3 May 27 05:17 sysroot
drwxrwxrwx 12 admin root 880 Nov 8 20:19 tmp
drwxr-xr-x 8 admin root 139 May 27 05:17 usr
lrwxrwxrwx 1 admin root 7 May 27 05:17 var -> tmp/var
drwxr-xr-x 14 admin root 5999 May 27 05:17 www