OESF Portables Forum

General Forums => General Discussion => Topic started by: Ventmore on April 23, 2006, 04:08:20 pm

Title: Can't Write To Sd As User Other Than Root
Post by: Ventmore 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
Title: Can't Write To Sd As User Other Than Root
Post by: Ventmore 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 (https://www.oesf.org/forums/index.php?showtopic=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]
Title: Can't Write To Sd As User Other Than Root
Post by: lardman 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