FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Fedora Core 4 & unwanted temp files





Jamatu
I'm currently using Fedora Core 4 as a server box. Heres my problem:

Whenever I open, edit and then save a php file with the default text editor (gedit) it creates a file in the same directory with a ~ at the end eg 'config.php~' The file can't be seen using file browser even with the 'Show hidden files' option enabled.

The problem with this is anyone is able to access the file with a browser since it isn't processed as a php file so they are able to access the config files which have the database username and passwords etc. I've tried to disable this by disabling the 'Save a copy' plugin but it still creates the file. Anyone have any ideas how I can stop it from doing this?

ls of the directory with an exampl file highlighted


Disabling the Save a copy plugin
Nyizsa
Try the Editor tab in the same dialog, and turn Create a backup copy of files before saving off. This way those files will (hopefully) not be created at all.
I hope it helped.
Jamatu
It worked a treat, thanks Nyizsa!
Related topics
Help : Fedora Core 4 + Ubuntu
Problem with linux fedora core 4
Problem with linux fedora core 4
Fedora Core 5 Test 1 Released
Which linux is the best for a new user?
Fedora Core 5 Test 1 Review
Help installing Fedora Core 6
Fedora Core 9
Windows vs. Linux
Linux
Fedora Core 5 Available
Fedora Core 5 Released
Creating a limited user in Linux
Fedora Core 5
Reply to topic    Frihost Forum Index -> Computers -> Operating Systems

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.