Debian Bug report logs - #826891
disorderfs: Files created on a disorderfs mount don't seem to respect umask

version graph

Package: disorderfs; Maintainer for disorderfs is Reproducible builds folks <reproducible-builds@lists.alioth.debian.org>; Source for disorderfs is src:disorderfs (PTS, buildd, popcon).

Reported by: Ceridwen <ceridwen.debian.bugs+debianbugs@gmail.com>

Date: Thu, 9 Jun 2016 20:18:02 UTC

Severity: normal

Tags: confirmed

Found in version disorderfs/0.4.2-1

Fixed in version disorderfs/0.4.3-1

Done: Andrew Ayer <agwa@andrewayer.name>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, ceridwen.debian.bugs+debianbugs@gmail.com, reproducible-builds@lists.alioth.debian.org, Andrew Ayer <agwa@andrewayer.name>:
Bug#826891; Package disorderfs. (Thu, 09 Jun 2016 20:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to Ceridwen <ceridwen.debian.bugs+debianbugs@gmail.com>:
New Bug report received and forwarded. Copy sent to ceridwen.debian.bugs+debianbugs@gmail.com, reproducible-builds@lists.alioth.debian.org, Andrew Ayer <agwa@andrewayer.name>. (Thu, 09 Jun 2016 20:18:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Ceridwen <ceridwen.debian.bugs+debianbugs@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: disorderfs: Files created on a disorderfs mount don't seem to respect umask
Date: Thu, 09 Jun 2016 16:14:48 -0400
Package: disorderfs
Version: 0.4.2-1
Severity: normal
User: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

While working on a tool to test build reproducibility with disorderfs,
I noticed that setting the umask in a subprocess doesn't seem to
affect the permissions of a file created on a disorderfs mount.  The
command that my tool executes is:

umask 0002; linux64 --uname-2.6 python build.py umask

build.py creates a file using the standard library
module pathlib.Path.touch(), which depends on the Python process's umask.

When this is not operating on a disorderfs mount, the permissions
of the created file are altered by the umask call:

-rw-rw-r--

When operating on a disorderfs mount, the umask doesn't seem to
affect them:

-rw-r--r--


-- System Information:
Debian Release: jessie/sid
  APT prefers wily-updates
  APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-36-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages disorderfs depends on:
ii  fuse        2.9.4-1ubuntu1
ii  libc6       2.21-0ubuntu4.3
ii  libfuse2    2.9.4-1ubuntu1
ii  libgcc1     1:5.2.1-22ubuntu2
ii  libstdc++6  5.2.1-22ubuntu2

disorderfs recommends no packages.

disorderfs suggests no packages.

-- no debconf information



Added tag(s) confirmed. Request was from Andrew Ayer <agwa@andrewayer.name> to control@bugs.debian.org. (Fri, 10 Jun 2016 03:18:05 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Andrew Ayer <agwa@andrewayer.name> to control@bugs.debian.org. (Fri, 10 Jun 2016 03:45:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#826891; Package disorderfs. (Fri, 10 Jun 2016 04:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Ayer <agwa@andrewayer.name>:
Extra info received and forwarded to list. (Fri, 10 Jun 2016 04:09:04 GMT) (full text, mbox, link).


Message #14 received at 826891@bugs.debian.org (full text, mbox, reply):

From: Andrew Ayer <agwa@andrewayer.name>
To: Ceridwen <ceridwen.debian.bugs+debianbugs@gmail.com>, 826891@bugs.debian.org
Subject: Re: Bug#826891: disorderfs: Files created on a disorderfs mount don't seem to respect umask
Date: Thu, 9 Jun 2016 21:04:55 -0700
Hi Ceridwen,

Thanks for reporting this!  I've identified and fixed the bug.  This fix
is in disorderfs 0.4.3-1, which I'm uploading to Unstable right now.

Cheers,
Andrew



Reply sent to Andrew Ayer <agwa@andrewayer.name>:
You have taken responsibility. (Fri, 10 Jun 2016 04:51:16 GMT) (full text, mbox, link).


Notification sent to Ceridwen <ceridwen.debian.bugs+debianbugs@gmail.com>:
Bug acknowledged by developer. (Fri, 10 Jun 2016 04:51:17 GMT) (full text, mbox, link).


Message #19 received at 826891-close@bugs.debian.org (full text, mbox, reply):

From: Andrew Ayer <agwa@andrewayer.name>
To: 826891-close@bugs.debian.org
Subject: Bug#826891: fixed in disorderfs 0.4.3-1
Date: Fri, 10 Jun 2016 04:49:53 +0000
Source: disorderfs
Source-Version: 0.4.3-1

We believe that the bug you reported is fixed in the latest version of
disorderfs, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 826891@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Ayer <agwa@andrewayer.name> (supplier of updated disorderfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 09 Jun 2016 20:44:03 -0700
Source: disorderfs
Binary: disorderfs
Architecture: source
Version: 0.4.3-1
Distribution: unstable
Urgency: medium
Maintainer: Andrew Ayer <agwa@andrewayer.name>
Changed-By: Andrew Ayer <agwa@andrewayer.name>
Description:
 disorderfs - FUSE filesystem that introduces non-determinism
Closes: 826891
Changes:
 disorderfs (0.4.3-1) unstable; urgency=medium
 .
   * New upstream release:
     - Clear umask so files are created with correct permissions
       (Closes: #826891)
Checksums-Sha1:
 2870299b0b22345ec0c371b8ef222578eca3a5ac 1896 disorderfs_0.4.3-1.dsc
 3e49d1930f3943f44739ed30b93cb646d207137c 18929 disorderfs_0.4.3.orig.tar.gz
 afb562ff64700448599b0cc193f22422c45bcb4a 2468 disorderfs_0.4.3-1.debian.tar.xz
Checksums-Sha256:
 5d38ff56d55a104739c791cd6aa76aa6c858d39b02b07689cfbfef8cb95a9ec2 1896 disorderfs_0.4.3-1.dsc
 91b8f2ccbcc55d14cd039e15e1854a8ad9895c02d1178555c1e4fad04101feec 18929 disorderfs_0.4.3.orig.tar.gz
 9edaa17ba0621878c95a501a48bd4ba28de90644d3c8dcb7dcc2bdb72e3dc50a 2468 disorderfs_0.4.3-1.debian.tar.xz
Files:
 946e2cf9494b93d5f4318e776d13fc1c 1896 utils extra disorderfs_0.4.3-1.dsc
 766660bcf70e94d17f294acd2e911c1d 18929 utils extra disorderfs_0.4.3.orig.tar.gz
 565a6923f9d62532fc727523f7037aa4 2468 utils extra disorderfs_0.4.3-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJXWjtRAAoJEJ0V9ORH5MgyK3AP/0RtcLiBClcaYKF6SUzTDwaV
vd4w2+sLc7nk0twmzGEbBslj6pJ96W/7fBheciWLP5Wx11rvLr1zTR3a1o8VYYav
dbO9L9Y1SMyUzWXWxXDzCKlQyERcmrNa71381ZoFMb2fmKnqjP2B7RUga2QZEsse
bYhzmUk6fyMPx40uol39lg5FXmbtSe5xKFAsyMozXBcoAApPsOJDegH0+g6IIn6s
yEx/HYQOUy5AZQbwVCkDzIk/AD7BW9ie2iXlTMsMwMOUBPLIGMbSjHflUv30V7R5
LO6jM4uXi2MepyiOApoIDpk93/HXTQV3kE3o3GfQmYxQzAkU6aOEI8MM07HpvnPo
luA/+aGHf7ausmzcqaV9ZZt0KytSKT7T4mZRtuowsWB58EdPzF6/dq8nSLw+VG9T
8yM4hlpHfd/JpalGB5yt65wA6jzwX8kepooiW1xWkGlbi75bT0Ke5W7ffGF93GEb
djt7ictq/cYOe0Hm894zRpu9P68Yht4IpOjtgaC+k5FBcXTjasmq+ZqLN7AL5Vs6
vC3kwBw6HKOaNhOLpv/FQLUHqpmnoHctEjZnnzgUnfXltM/0h8eIZNkieiQ3DPNd
COmJ5rmEXpgPr9vddsx4uG/NOPGra6yapHDA8Y0F/qtifPOhWYvNI4CajsyVcgGb
e5MTxqZOdk9u5oAGFGCc
=3a7d
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 13 Jul 2016 07:35:44 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:43:40 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.