LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 03-19-2003, 03:18 AM   #1
correro
Member
 
Registered: Oct 2002
Distribution: RedHat 8.0
Posts: 140

Rep: Reputation: 15
Editor, access permission, ...


This is an access permission issue that's been troubling me for some time.

I log into the GUI (GNOME) as an ordinary user. I start KWrite to edit my program files, which are supposed to be saved in directories other than the home directory of the user.

So I have to su into root before launching KWrite.

There must be some way to get around this, right? Please offer me a clue :-)
 
Old 03-19-2003, 04:13 AM   #2
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
if running KWrite is a prob

at a cli type

chown username:usergroup name $pathto/KWrite
chmod u+x $pathto/KWrite

then all should be done

Else if your trying to edit stuff in places like "/etc" etc then you'll have to either run as root, or make your box insecure by doing the above on the files you want to edit. Or on the directories you want to write to.

If you could provide more info as to which files your editing that would be of help

or you could chmod u+s $pathto/KWrite and set it suid so it runs as suid root, meaning you can edit stuff without su'ing first

Last edited by sidey; 03-19-2003 at 04:17 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting permission, file access. Apogeal1 Linux - Newbie 5 06-20-2005 08:17 PM
Changing access permission LinuxVirgIan Linux - Newbie 16 07-05-2004 08:59 PM
You don't have permission to access / on this server. jkpalmer52 Linux - General 4 01-27-2004 04:05 PM
You don't have permission to access / on this server jaydave Linux - Networking 1 03-15-2003 06:11 AM
You don't have permission to access.. apache ?'s jester_69 Linux - General 3 09-06-2002 07:43 AM


All times are GMT -5. The time now is 07:22 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration