Author Topic: Permission Denied  (Read 2912 times)

amotyka

  • Newbie
  • *
  • Posts: 13
    • View Profile
Permission Denied
« on: April 09, 2006, 07:15:55 pm »
I am using cacko 1.23 on a zaurus sl-c750.
Whenever I try to ./ anything e.g. ./gnu-tar, I get "permission denied", regardless of su or not. However, it works if the current directory is vfat but not if it's ext2.
What is happening and what should I do?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Permission Denied
« Reply #1 on: April 10, 2006, 06:15:14 am »
Perhaps you're trying to extract to a read-only filesystem?

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

amotyka

  • Newbie
  • *
  • Posts: 13
    • View Profile
Permission Denied
« Reply #2 on: April 10, 2006, 12:03:32 pm »
Quote
Perhaps you're trying to extract to a read-only filesystem?

Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122474\"][{POST_SNAPBACK}][/a][/div]

I really wish it were that simple. I'm using an ext2 formatted sd card mounted as rw, with write protect disabled.

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Permission Denied
« Reply #3 on: April 10, 2006, 12:23:00 pm »
to be clear.  you can "touch test" on the filesystem?
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Permission Denied
« Reply #4 on: April 10, 2006, 12:24:01 pm »
Does ./gnu-tar have the correct permissions?

If so, can you post the output so we can see what you're actually doing? The output of 'mount' may also be useful.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

amotyka

  • Newbie
  • *
  • Posts: 13
    • View Profile
Permission Denied
« Reply #5 on: April 10, 2006, 02:37:41 pm »
Quote
Does ./gnu-tar have the correct permissions?

If so, can you post the output so we can see what you're actually doing? The output of 'mount' may also be useful.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122526\"][{POST_SNAPBACK}][/a][/div]

Thanks everyone. You'll have to forgive me, I'm new to linux and am still finding my way. Turns out my permissions are messed up. I've just learnt how to use chmod and now everything is fine.
Thanks again,
Anthony