OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: tombraider on December 15, 2005, 02:28:49 pm

Title: How To Change Permissions
Post by: tombraider on December 15, 2005, 02:28:49 pm
On my SL5500's I believe I typed something in at the terminal in order to grant myself permissions for all folders at once.  Is this possible?

I need to change permissions to copy over a different addressbook.so and am having difficulty.  the path to the file seems to be /usr/QtPalmtop.rom/binlib/addressbook.so

Could someone help me with the commands?

Thanks in advance.
Title: How To Change Permissions
Post by: jfv on December 15, 2005, 04:09:25 pm
The command "su" will turn you into root and then you can move any file you want.

Felipe
Title: How To Change Permissions
Post by: tombraider on December 16, 2005, 10:54:23 am
I've tried that and su gains me nothing.  I can't "see" the files in terminal that I want to get to and change permissions on.  It seems like I changed something on my SL5500 so that I could "see" all files and had full permission on all files,  but the C1000 denies me access to just about everything...even when I used AdvancedFM with root privileges.

Anyway,  when I do ls in terminal I only see Applications Documents Settings so I can't move to anything that I wish to change.

Quote
The command "su" will turn you into root and then you can move any file you want.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107233\"][{POST_SNAPBACK}][/a][/div]
Title: How To Change Permissions
Post by: jfv on December 16, 2005, 11:31:40 am
su changes you to root but doesn't put you in the root directory. To see the files you want do "ls /usr/QtPalmtop" (and so on).

Felipe
Title: How To Change Permissions
Post by: tombraider on December 16, 2005, 12:30:15 pm
Okay,  I feel pretty stupid because I had forgotten that,  however I get all the way to where the addressbook.so is located and if I try to remove it with rm (so I can later copy my new file there via AdvancedFM) or try to copy  the new file over it, I get the error message, "addressbook.so:  Read-only file system."

What do I do now?

How about if I just install the Sharp addressbook from the feed...will that just create a bigger problem?

Thanks for bearing with me on this... I know I'm pretty dense.  :-)

Quote
su changes you to root but doesn't put you in the root directory. To see the files you want do "ls /usr/QtPalmtop" (and so on).

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107311\"][{POST_SNAPBACK}][/a][/div]
Title: How To Change Permissions
Post by: rebski on December 16, 2005, 12:58:02 pm
Just to provide  some support, but this topic is very useful to me too. I encounter this problem all the time and lack the Linux knowledge to deal with it.

In fact if anyone can direct me to a link for command line instructions I am happy to learn them. My only terminal experience has been with MSDOS.
Title: How To Change Permissions
Post by: jfv on December 16, 2005, 01:20:30 pm
I've never dealt with this problem before. I know you have to unmount the read-only file system and then remount it readable but I don't have the commands off the top of my head and you don't want to screw up doing that. Do a search on the forums for "mount -r" or something like that. I was about to suggest that you google for "man mount" but then I realized that it's a really bad idea :-)

As for rebski's post, there was a thread recently on what newbies should know that had some links to linux tutorials.

Felipe
Title: How To Change Permissions
Post by: Greg2 on December 16, 2005, 02:14:26 pm
Quote
On my SL5500's I believe I typed something in at the terminal in order to grant myself permissions for all folders at once.  Is this possible?
-snip-
Could someone help me with the commands?
Be very careful with this:
Code: [Select]
su
mount / -o rw,remount
Make your changes then do:
Code: [Select]
mount / -o ro,remountto make it read-only like it was

Please note: Make sure you have enough room to add any changes!

Greg
Title: How To Change Permissions
Post by: Cresho on December 16, 2005, 03:42:26 pm
i have a solution so don't dispare.

ill wait to see if greg2 post works for you. then if it doesnt, ill get to you.  Ive done the addressbook plenty of times.