Bug#505398: libglib2.0-0: g_file_copy always preserves permissions, even if G_FILE_COPY_ALL_METADATA flag is not set
Maximiliano Curia
maxy at gnuservers.com.ar
Wed Nov 12 02:55:14 UTC 2008
Package: libglib2.0-0
Version: 2.16.6-1
Severity: normal
gio's g_file_copy can be tested using gvfs-copy command from the gvfs-bin
package or hacking nautilus from experimental to not set
G_FILE_COPY_ALL_METADATA.
A simple test:
$ mkdir src dst; touch src/1; chmod 7777 src/test; cp src/test dst/cp
$ gvfs-copy src/test dst/gvfs-copy; ls -l dst
total 0
-rwxr-xr-x 1 maxy maxy 0 nov 12 2008 cp
-rwsrwsrwt 1 maxy maxy 0 nov 12 2008 gvfs-copy
This behavior is incompatible with acls default settings and users umask
setting.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libglib2.0-0 depends on:
ii libc6 2.7-15 GNU C Library: Shared libraries
ii libpcre3 7.8-2 Perl 5 Compatible Regular Expressi
ii libselinux1 2.0.65-5 SELinux shared libraries
Versions of packages libglib2.0-0 recommends:
ii libglib2.0-data 2.16.6-1 Common files for GLib library
libglib2.0-0 suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list