Author Topic: Can't Write To Sd As User Other Than Root  (Read 1780 times)

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Can't Write To Sd As User Other Than Root
« on: April 23, 2006, 04:08:20 pm »
I have formatted my SD card today with the ext2 filesystem.  I just tried to download a file from the web onto it, and  the download failed.

When I try to write to it through the console, I cna only write as root.  Do I just need to 'chown' the /mnt/card directory, and set it to 'zaurus', or is there something else I need to do?

Cheers
Ventmore

Ventmore

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Can't Write To Sd As User Other Than Root
« Reply #1 on: April 23, 2006, 05:20:07 pm »
Never mind......when I finally got the search terms right, I got and answer here:

https://www.oesf.org/forums/index.php?showt...c=3678&hl=chown

Quote
Yes, there is a permissions problem (at least there was one for me).

You need to fire up the Terminal, su to root cd /mnt/card

Then, issue the following command
chown -R zaurus *
chgrp -R qpe *

That will change everything (including the directories) to be owned by Zaurus. You may have to back up one directory (that is /mnt) and issue these commands to include /mnt/card as well.

I hope this helps,

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

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Can't Write To Sd As User Other Than Root
« Reply #2 on: April 24, 2006, 05:19:05 am »
Note that if your card were fat formatted, you'd need to change the ownership (for the whole card) in fstab.

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