LinuxQuestions.org
Help answer threads with 0 replies.
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 03-18-2005, 06:05 PM   #1
newdummy
LQ Newbie
 
Registered: Mar 2005
Location: Atlanta
Distribution: FedoraCore 3
Posts: 5

Rep: Reputation: 0
file editing


I have a file that I am trying to edit, but every time I click on it, it disappears. When I refresh the folder view it comes back. This is a configuration file for an application that I need to edit. I have set the permissions to 666. What is happening to the file?
 
Old 03-18-2005, 06:11 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
It is trying to execute it.Right click it and open it in a text editor.
also if I remember right you can change the preferences in nautilus to ask what to do when opening a file.

Last edited by comprookie2000; 03-18-2005 at 06:13 PM.
 
Old 03-18-2005, 06:26 PM   #3
newdummy
LQ Newbie
 
Registered: Mar 2005
Location: Atlanta
Distribution: FedoraCore 3
Posts: 5

Original Poster
Rep: Reputation: 0
File Editing

Thanks for the tip. Unfortunately, when I right click to get to the editor is when the file disappears. Actually it happens any time I click (left or right) the file. The reason I am having to edit the file is because I think my site got hacked last nite. I thought that might be the reason I cannot edit this file any longer.
 
Old 03-18-2005, 06:29 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Try nano or pico;
nano -w /link/to/file
then ctrl o then enter to save and ctrl x to exit

Last edited by comprookie2000; 03-18-2005 at 06:32 PM.
 
Old 03-18-2005, 07:47 PM   #5
newdummy
LQ Newbie
 
Registered: Mar 2005
Location: Atlanta
Distribution: FedoraCore 3
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, That got me into the file so that I can edit it. I still can't figure out why it suddenly started doing that.
 
Old 03-18-2005, 08:16 PM   #6
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Nautilus can be buggie at times,I use mc (midnight commander) to edit move copy remove etc,I use nautilus to view images,so I can remember what they are before I use them.
 
  


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
? on editing a file steve_f60 Linux - Software 4 09-20-2005 06:22 PM
I want to recover a file that I was editing wilfman Linux - General 1 03-01-2004 01:57 PM
File editing digger Linux - Newbie 3 01-28-2004 04:42 PM
basic file editing dartania Linux - Newbie 1 09-21-2003 03:00 PM
Help Editing Sudoers File Rubicone Linux - Newbie 2 05-03-2002 02:50 AM


All times are GMT -5. The time now is 10:50 PM.

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