LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2005, 11:29 PM   #1
christel
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: xubuntu karmic, kubuntu gutsy
Posts: 19

Rep: Reputation: 0
root access on desktop


Yet again another newbie question.

I now know how to be root on the terminal with the su command (thanks to the wonderful newbie tutorial of linux-mag.com).

Now how do I do that to gain access to perform root (administrator?) actions on the desktop?

one example: I've tried to modify the icon for a link to a folder: the system lets me chose the new image to eventually tell me "Could not save properties. You do not have sufficient access to write to /home/christel/Desktop/Win$ Docs/.directory."

This is my computer, I did the installation myself, it's not on a network (not even connected to the internet due to stupid winmodem), and there is no other configured user but me.

Help please?
 
Old 05-24-2005, 12:30 AM   #2
s_deepak_123
Member
 
Registered: Oct 2004
Location: Mysore, India
Distribution: Fedora Core 1, Xandros desktop OS 2
Posts: 54

Rep: Reputation: 15
Open a terminal. su as root. Now, you can change the ownership of the file/directory.
Ex: To change the ownership of the directory /home/me/Desktop/abc you have to give the command as:

chown me /home/me/Desktop/abc

you can change me with your username.

Use chown carefully, as it can screw up your system if used on system files.
 
Old 05-24-2005, 12:44 AM   #3
christel
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: xubuntu karmic, kubuntu gutsy
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks; will try it carefully.
Christel
 
Old 05-24-2005, 12:51 AM   #4
christel
LQ Newbie
 
Registered: May 2005
Location: South Africa
Distribution: xubuntu karmic, kubuntu gutsy
Posts: 19

Original Poster
Rep: Reputation: 0
One more thing: how do I undo it if I screw it?
 
Old 05-24-2005, 01:31 AM   #5
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
Take note of the current owner (e.g. 'root')

Then "chown root /home/christel/Desktop/Win$ Docs/.directory"

daniel
 
Old 05-24-2005, 04:32 AM   #6
andygo
Member
 
Registered: May 2005
Location: Ukraine, Kiev
Distribution: Gentoo, Kubuntu
Posts: 112

Rep: Reputation: 15
try this
$chmod -R +w /home/

this will add the "Write" permition to EVERYTHing inside /home %-)
 
Old 05-24-2005, 04:45 AM   #7
davideichmann
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Rep: Reputation: 0
you can even edit text files frome the command line using vi or vim. just type:
Code:
su
PASSWORD
vi /path/to/file
move with the arrow keys and press "i" to edit text and Esc to stop editing. then press "ZZ" to save and exit. You can also type ":q!" to exit without saving
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making desktop link with root access TranceDude Linux - Software 1 09-23-2005 04:28 PM
desktop access easyE Linux - General 7 04-19-2005 06:49 PM
access linux desktop from PC zatang011 Linux - Newbie 2 08-16-2004 07:16 PM
where do I access my desktop shanenin Linux - Software 5 09-21-2003 02:02 PM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 10:18 AM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration