[Pkg-lxde-maintainers] Bug#639982: libfm0: Removable directory not removed if traversing through children denied
Marcin Szewczyk, Wodny
debian.bugreport at wodny.org
Thu Sep 1 10:42:54 UTC 2011
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 }
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (600, 'testing'), (500, 'stable-updates'), (500, 'stable'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libfm0 depends on:
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii libdbus-1-3 1.4.14-1 simple interprocess messaging syst
ii libdbus-glib-1-2 0.94-4 simple interprocess messaging syst
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libmenu-cache1 0.3.2-2.1 an implementation of the freedeskt
ii lxmenu-data 0.1.2-1 freedesktop.org menu specification
libfm0 recommends no packages.
libfm0 suggests no packages.
-- no debconf information
More information about the Pkg-lxde-maintainers
mailing list