Bug 28233

Summary: backup to different directory with 2 instances of gnotepad+ 1.3.1
Product: [Retired] Red Hat Linux Reporter: Karl schmidt <karl>
Component: gnotepad+Assignee: Tim Powers <timp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-19 20:08:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karl schmidt 2001-02-18 20:32:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686)


if you set it to backup to other directory - and have two instances of
gnotpade running it returns error - cannot create backup

Reproducible: Sometimes
Steps to Reproduce:
1.set to backup to other directory
2.open two instances of different files in diff directories
3.try to save
	

Actual Results:  returns error

Expected Results:  should have created backup files in directory

Comment 1 David Mason 2001-02-19 16:15:43 UTC
now in powertools - reassigning

Comment 2 Tim Powers 2001-02-19 19:19:32 UTC
What is the error you are getting when you encounter this problem? I need the
error message you get when starting it from an xterm.

I do get error messages if I try to create the backup files on a device which is
different from where the file being edited is located, but that's to be expected
with the way this application was designed. Here is the error I get (even with
single files being edited):

file_backup: rename() error: Invalid cross-device link

Is this what you are seeing in the xterm?

Tim

Comment 3 Tim Powers 2001-02-19 20:08:49 UTC
The option for which directory to create backups should not even exist. The
problem with that option is that it assumes wrongly that all files that you want
to edit will be be on the same device. It should create backups in the same
location as the file you are editing. I am removing this configuration option
from the preferences window so that others won't run into this either.

This is fixed in gnotepad+-1.3.3-3
Tim