#484 libfm0: Removable directory not removed if no x flag

1.0.1
closed-fixed
libfm (303)
5
2012-08-13
2011-09-15
No

Originally posted as:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639982

Package: libfm0
Version: 0.1.14-2
Severity: normal

Test case:
drwxr-xr-x 3 wodny wodny 4096 Sep 1 12:39 .
drwxr-xr-x 5 wodny wodny 4096 Sep 1 12:39 ..
drwx------ 2 root root 4096 Sep 1 12:39 testdir

Testdir is empty.

Rmdir testdir will succeed.
Gvfs-rm will succeed.
Removing testdir through pcmanfm will fail.

Some debug:
$ gdb pcmanfm

[...]

(gdb) b _fm_file_ops_job_delete_file

[...]

Breakpoint 1, _fm_file_ops_job_delete_file (job=0x81b6880, gf=0xb2a45520,
inf=0x0) at job/fm-file-ops-job-delete.c:33
33 job/fm-file-ops-job-delete.c: No such file or directory.
in job/fm-file-ops-job-delete.c

[...]

84 if(is_dir)
(gdb) n
88 if(!g_file_is_native(gf))
(gdb) n
107 GFileMonitor* old_mon = fjob->src_folder_mon;
(gdb) n
108 GFileEnumerator* enu = g_file_enumerate_children(gf,
query,
(gdb) n
111 if(!enu)
(gdb) n
108 GFileEnumerator* enu = g_file_enumerate_children(gf,
query,
(gdb) n
111 if(!enu)
(gdb) n
113 FmJobErrorAction act = fm_job_emit_error(job, err,
FM_JOB_ERROR_MODERATE);
(gdb) n
114 g_error_free(err);
(gdb) n
113 FmJobErrorAction act = fm_job_emit_error(job, err,
FM_JOB_ERROR_MODERATE);
(gdb) n
** (pcmanfm:12064): DEBUG: FmJob error: Permission denied
114 g_error_free(err);
(gdb) n
116 return FALSE;
(gdb) n
202 }

Discussion

<< < 1 2 (Page 2 of 2)
  • Lonely Stranger

    Lonely Stranger - 2012-08-13

    We hope this issue is completely fixed in the Git repository recently.
    Check it out when it's possible for you and if the bug still exists then reopen the report, please.
    Thank you very much.

     
  • Lonely Stranger

    Lonely Stranger - 2012-08-13
    • status: open-accepted --> closed-fixed
     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks