Package: fuseext2
Version: 0.4-1.1
Severity: normal

Hi!  Running ``chown USER FILE`` on a fuseext2 filesystem leaves the user
unchanged and it changes the FILE's group to 65535 instead of leaving it as
is.  Also, running ``chgrp GROUP FILE`` leaves the group unchanged and changes
the FILE's user to 65535.  Only changing both items at once with ``chown
USER:GROUP FILE`` works as expected.

A sample session:

----8<----
$ dd if=/dev/zero of=fs.ext4 bs=1M count=0 seek=512
0+0 records in
0+0 records out
$ /sbin/mkfs.ext4 fs.ext4
mke2fs 1.42.8 (20-Jun-2013)
fs.ext4 is not a block special device.
Proceed anyway? (y,n) y
[...]
Writing superblocks and filesystem accounting information: done

0 bytes (0 B) copied, 0.00034055 s, 0.0 kB/s
$ mkdir fs
$ fuseext2 -o rw+ fs.ext4 fs
fuse-umfuse-ext2: version:'0.4', fuse_version:'29' [main (fuse-ext2.c:331)]
fuse-umfuse-ext2: enter [do_probe (do_probe.c:30)]
fuse-umfuse-ext2: leave [do_probe (do_probe.c:55)]
fuse-umfuse-ext2: opts.device: /tmp/tmpsKEBci/fs.ext4 [main (fuse-ext2.c:358)]
fuse-umfuse-ext2: opts.mnt_point: fs [main (fuse-ext2.c:359)]
fuse-umfuse-ext2: opts.volname:  [main (fuse-ext2.c:360)]
fuse-umfuse-ext2: opts.options: rw+ [main (fuse-ext2.c:361)]
fuse-umfuse-ext2: parsed_options: rw,fsname=/tmp/tmpsKEBci/fs.ext4 [main 
(fuse-ext2.c:362)]
fuse-umfuse-ext2: mounting read-write [main (fuse-ext2.c:376)]
$ mkdir fs/foo
$ ls -l fs
total 20
drwx------ 2 ivan ivan  4096 jul 19 15:32 foo
drwx------ 2 root root 16384 jul 19 15:32 lost+found
$ chgrp audio fs/foo
$ ls -l fs
total 20
drwx------ 2 65535 ivan  4096 jul 19 15:32 foo
drwx------ 2 root  root 16384 jul 19 15:32 lost+found
$ mkdir fs/foo2
$ chown root:audio fs/foo2
$ ls -l fs
total 24
drwx------ 2 65535 ivan   4096 jul 19 15:32 foo
drwx------ 2 root  audio  4096 jul 19 15:33 foo2
drwx------ 2 root  root  16384 jul 19 15:32 lost+found
$ fusermount -u fs
$ fuseext2 -o rw+ fs.ext4 fs
fuse-umfuse-ext2: version:'0.4', fuse_version:'29' [main (fuse-ext2.c:331)]
fuse-umfuse-ext2: enter [do_probe (do_probe.c:30)]
fuse-umfuse-ext2: leave [do_probe (do_probe.c:55)]
fuse-umfuse-ext2: opts.device: /tmp/tmpsKEBci/fs.ext4 [main (fuse-ext2.c:358)]
fuse-umfuse-ext2: opts.mnt_point: fs [main (fuse-ext2.c:359)]
fuse-umfuse-ext2: opts.volname:  [main (fuse-ext2.c:360)]
fuse-umfuse-ext2: opts.options: rw+ [main (fuse-ext2.c:361)]
fuse-umfuse-ext2: parsed_options: rw,fsname=/tmp/tmpsKEBci/fs.ext4 [main 
(fuse-ext2.c:362)]
fuse-umfuse-ext2: mounting read-write [main (fuse-ext2.c:376)]
$ ls -l fs
total 24
drwx------ 2 65535 ivan   4096 jul 19 15:32 foo
drwx------ 2 root  audio  4096 jul 19 15:33 foo2
drwx------ 2 root  root  16384 jul 19 15:32 lost+found
$ fusermount -u fs
----8<----

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fuseext2 depends on:
ii  e2fslibs  1.42.8-1
ii  fuse      2.9.2-4
ii  libc6     2.17-7
ii  libfuse2  2.9.2-4

fuseext2 recommends no packages.

fuseext2 suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to