Results 1 to 7 of 7

Thread: flashfs: permision denid

  1. #1

    flashfs: permision denid

    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:

    Code:
    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...
    Code:
    ]$ man ls
    sh: nroff: Permission denied
    P.S. I have setup the previous version using wengi's tutorial and all went fine. Also some other settings were changed.

    Thanks.
    Last edited by Ciuflingar; 11-04-2008 at 19:12.

  2. #2

    scp is broken

    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:
    Code:
    scp: /tmp/harddisk: Not a directory
    When trying to copy from the box:
    Code:
    Received error message from remote side: 'scp: httpd.conf: not a regular file'

  3. #3
    Same happened to me yesterday, after flashing and reboot I started busybox and transmission as usual, permission denied

    Code:
    [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
    Last edited by Untouchable; 23-04-2008 at 07:12. Reason: Added code

  4. #4
    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:

    Code:
    #
    # 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"

  5. #5
    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!

  6. #6
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    3
    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.

  7. #7
    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.

Similar Threads

  1. Ñîõðàíåíèå íàñòðîåê ðîóòåðà â NVRAM è FlashFS
    By ys05 in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 302
    Last Post: 03-12-2015, 15:11
  2. "broken pipe" with flashfs save
    By cheekysparrow in forum WL-500gP Q&A
    Replies: 0
    Last Post: 17-10-2007, 13:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •