https://bugs.kde.org/show_bug.cgi?id=364596

            Bug ID: 364596
           Summary: Swap on alternative directory failing
           Product: kate
           Version: 3.14.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: massimo.burch...@gmx.de

This is Kate 3.14.21 and kdevelop 4.90.01.

After bug 362288 I tried using an alternative directory for swapping:
~/.kate.swp
But the directory does not get any new files. Attaching strace to kdevelop I
found some failed tries to write there:

lstat("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
0x7ffcc3ad3ac0) = -1 ENOENT (No such file or directory)
open("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 38
lstat("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
{st_mode=S_IFREG|0644, st_size=48, ...}) = 0
unlink("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp")
= 0
lstat("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
0x7ffcc3ad3ac0) = -1 ENOENT (No such file or directory)
open("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 38
lstat("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp",
{st_mode=S_IFREG|0644, st_size=48, ...}) = 0
unlink("/home.crypt/mb/.kate.swp/\302\207\302\2147cd\303\217\37Sk\22\30\302\212o\302\234\302\241\303\206\303\274\303\204'\303\226.kate-swp")
= 0


Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to