Log in

Bekijk de volledige versie : flashfs: permision denid



Ciuflingar
10-04-2008, 21:01
Updated from 1.9.2.7-9 to 1.9.2.7-10 after I saved flash and settings then loaded them up.
Now when I try to save flash I get the following errors:


sbin]$ flashfs save
/sbin/flashfs: /sbin/flashfs: 20: cat: Permission denied
/sbin/flashfs: /sbin/flashfs: 73: [: Permission denied
tar: Removing leading '/' from member names
tar: /tmp/local: Unknown file type
tar: Error exit delayed from previous errors
/sbin/flashfs: /sbin/flashfs: 73: ls: Permission denied

I searched for this issue and I found nothing.

I do not have access to anything... :(

]$ man ls
sh: nroff: Permission denied

P.S. I have setup the previous version using wengi's (http://wl500g.info/showthread.php?t=10307) tutorial and all went fine. Also some other settings were changed.

Thanks.

Ciuflingar
11-04-2008, 18:41
Also I cannot copy anything trough scp to and from my partitions but I can see the files and folders...

When trying copying to the box:

scp: /tmp/harddisk: Not a directory

When trying to copy from the box:

Received error message from remote side: 'scp: httpd.conf: not a regular file'

Untouchable
23-04-2008, 07:01
Same happened to me yesterday, after flashing and reboot I started busybox and transmission as usual, permission denied :(



[admin@WL-500GP root]$ flashfs save && flashfs commit && flashfs enable && reboot
/sbin/flashfs: /sbin/flashfs: 20: cat: Permission denied
/sbin/flashfs: /sbin/flashfs: 73: [: Permission denied
tar: Removing leading '/' from member names
tar: /tmp/local: Unknown file type
tar: Error exit delayed from previous errors
/sbin/flashfs: /sbin/flashfs: 73: ls: Permission denied

Untouchable
29-04-2008, 15:40
Thanks to one Czech user on this forum, the solution is:

in /opt/etc/profile you need to comment the line LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH} and comment LD_LIBRARY_PATH in export line. If /opt/etc/profile is not executable, make it... chmod +x /opt/etc/profile

Here's my /opt/etc/profile:



#
# Bash initialization script
#

PS1="[\u@\h \W]$ "
PATH=/opt/sbin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin
#LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

export PS1 PATH #LD_LIBRARY_PATH
alias ls="ls --color=auto -la"
alias pss="ps axf | grep"

AlexZdanevich
26-06-2008, 20:26
thanks for all you recomendation!

last three day i have big problem with my WL500gp, and now all seems like OK :)

AND BIG THANKS AGAIN! :)

novax
11-07-2008, 09:17
I had the same problem few days ago. Cause: damaged filesystem on flash-drive (or hdd) mounted at /opt. Try to unplug usb hdd and reboot, if it helps, connect the hdd unmount it (with -f or -l option) and run e2fsck. It helped in my case.

wirespot
12-07-2008, 19:32
FWIW, I don't think this issue is firmware related, but, as in novax's case, due to other reasons. Because I fail to see why (or how) a firmware upgrade would modify a file on your USB storage.