View previous topic :: View next topic |
Author |
Message |
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Fri Aug 28, 2009 12:23 am Post subject: nano, error writing backup |
|
|
This has been bothering me for ages, years literally, but seems to be completely random and I've never asked about it.
Sometimes, when I try to save a file in nano, I get an error in the status bar, like this:
Code: | Error writing backup file /home/i92guboj/backups/nano/!home!i92guboj!server!www!bbclone!conf!config.php~: operation not permitted |
Some other times it doesn't bother me, and I can save the file without any problem. It's strange, the driver is not full, there are free i-nodes, etc. etc. Sometimes fails, sometimes it works. Quite annoying, overall when you have done some intensive modifications into a config file and you have to close nano without saving the file because of this silly bug or whatever it is.
Has anyone experienced the same problem?
Thanks for reading. |
|
Back to top |
|
|
tony-curtis Tux's lil' helper
Joined: 20 May 2006 Posts: 111
|
Posted: Fri Sep 04, 2009 11:53 pm Post subject: |
|
|
are you sure you own all the files under that backup directory? |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sat Sep 05, 2009 12:39 am Post subject: |
|
|
... and are you the owner (or do you have write permission) of the file you are modifying? |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Sep 06, 2009 7:37 am Post subject: |
|
|
Yes to both. As said, the problem is completely random, or so it seems. |
|
Back to top |
|
|
tony-curtis Tux's lil' helper
Joined: 20 May 2006 Posts: 111
|
Posted: Sun Sep 06, 2009 7:21 pm Post subject: |
|
|
have you fsck'ed the filesystem(s) recently? |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Sep 07, 2009 8:24 am Post subject: |
|
|
Yes. Besides, it's not a recent thing. It has happened randomly for a long time now, in different fs's, and only with nano. |
|
Back to top |
|
|
tony-curtis Tux's lil' helper
Joined: 20 May 2006 Posts: 111
|
Posted: Mon Sep 07, 2009 7:05 pm Post subject: |
|
|
Try strace'ing the nano process from another window. Maybe you can record its system calls when this issue happens again. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Mon Sep 07, 2009 8:06 pm Post subject: |
|
|
tony-curtis wrote: | Try strace'ing the nano process from another window. Maybe you can record its system calls when this issue happens again. |
I am trying that. If I only had a solid way to reproduce it... I can only wait until it bites again |
|
Back to top |
|
|
budongsmith n00b
Joined: 14 Sep 2009 Posts: 1
|
Posted: Tue Sep 15, 2009 2:40 am Post subject: |
|
|
So the problem is completely random. have you been tried on another computer?
__________________
Writing jobs |
|
Back to top |
|
|
|