Author Topic: How To Change Permissions  (Read 3080 times)

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
How To Change Permissions
« 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.
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
How To Change Permissions
« Reply #1 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
SL 5000 D  and C860 Sharp ROM
Too many accessories...

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
How To Change Permissions
« Reply #2 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]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
How To Change Permissions
« Reply #3 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
SL 5000 D  and C860 Sharp ROM
Too many accessories...

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
How To Change Permissions
« Reply #4 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]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

rebski

  • Full Member
  • ***
  • Posts: 129
    • View Profile
How To Change Permissions
« Reply #5 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.

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
How To Change Permissions
« Reply #6 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
SL 5000 D  and C860 Sharp ROM
Too many accessories...

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
How To Change Permissions
« Reply #7 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

Cresho

  • Hero Member
  • *****
  • Posts: 1609
    • View Profile
    • http://home.earthlink.net/~cresho/
How To Change Permissions
« Reply #8 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.
« Last Edit: December 16, 2005, 03:44:50 pm by Cresho »
Zaurus C-3200 (internal 8gb seagate drive) with buuf icon theme, cacko 1.23 full,  and also Meanie's pdaxqtrom-Debian/Open Office
Zaurus SL-5500 Sharp Rom 3.13 with steel theme
pretec pocket pc wi fi
ambicom bt2000-cf bluetooth-made in taiwan
simpletech 1gb cf
pny 1gb sd
patriot 2gb
ocz or patriot 4gb sd(failed after 2 weeks)only on z
creative csw-5300 speakers in stereo
DigiLife DDV-1000 for video, Audio, Picture recording playable on the zaurus
Mustek DV4500-video recorder, pictures, voice record on sd for z

zaurusthemes.biz | ZaurusVideo | Zaurus Software