Bug#1000584: inkscape: confused by set-group-ID on directory
Control: tag -1 moreinfo Hi, I believe you might be confused here: On Thu, Nov 25, 2021 at 01:12:57PM +0100, Francesco Potortì wrote: > I have a directory X with permissions drwxrwsr-x and umask 0002 > > I start Inkscape from a dirrente directory, read a pdf file from X and > export a bitmap conversion to directory X. > > The file permissions are -rw--- (they should be -rw-rw-r--) That's the standard file permissions for temporary files. > I remove the file and export again. This time the file permissions are > -rw-r--r-- (they should be -rw-rw-r--). I can't reproduce this: if I try, the new file is, again, -rw---. However, there is a point: when you say "you have directory X with […] umask 0002". umask is not a property of a directory, but of a currently running process; a property that gets inherited. Which means that for that umask to take effect, you'd likely need to open a terminal, run `umask 0002 && inkscape` (assuming you didn't change umask system-wide). If I do that, then the exported file has permissions -rw-rw-r-- all the time I export it. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. More about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `- signature.asc Description: PGP signature
Bug#1000584: inkscape: confused by set-group-ID on directory
Package: inkscape Version: 1.1.1-2 Severity: normal X-Debbugs-Cc: none, Francesco Potortì I have a directory X with permissions drwxrwsr-x and umask 0002 I start Inkscape from a dirrente directory, read a pdf file from X and export a bitmap conversion to directory X. The file permissions are -rw--- (they should be -rw-rw-r--) I remove the file and export again. This time the file permissions are -rw-r--r-- (they should be -rw-rw-r--). -- Francesco Potortì (ricercatore)Voice: +39.050.621.3058 ISTI - Area della ricerca CNR Mobile: +39.348.8283.107 via G. Moruzzi 1, I-56124 Pisa Skype: wnlabisti (gate 20, 1st floor, room C71) Web:http://fly.isti.cnr.it -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (101, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages inkscape depends on: ii libatkmm-1.6-1v5 2.28.2-1 ii libboost-filesystem1.74.0 1.74.0-13 ii libc6 2.32-4 ii libcairo2 1.16.0-5 ii libcairomm-1.0-1v5 1.12.2-4 ii libcdr-0.1-1 0.1.6-2 ii libdbus-glib-1-2 0.112-2 ii libdouble-conversion3 3.1.5-7 ii libfontconfig1 2.13.1-4.2 ii libfreetype6 2.11.0+dfsg-1 ii libgc1 1:8.0.4-3 ii libgcc-s1 11.2.0-10 ii libgdk-pixbuf-2.0-02.42.6+dfsg-2 ii libglib2.0-0 2.70.1-1 ii libglibmm-2.4-1v5 2.66.2-1 ii libgomp1 11.2.0-10 ii libgsl25 2.6+dfsg-2 ii libgspell-1-2 1.9.1-2 ii libgtk-3-0 3.24.30-3 ii libgtkmm-3.0-1v5 3.24.5-1 ii libharfbuzz0b 2.7.4-1 ii libjpeg62-turbo1:2.0.6-4 ii liblcms2-2 2.12~rc1-2 ii libmagick++-6.q16-88:6.9.11.60+dfsg-1.3 ii libpango-1.0-0 1.48.10+ds1-1 ii libpangocairo-1.0-01.48.10+ds1-1 ii libpangoft2-1.0-0 1.48.10+ds1-1 ii libpangomm-1.4-1v5 2.46.1-1 ii libpng16-161.6.37-3 ii libpoppler-glib8 20.09.0-3.1 ii libpoppler102 20.09.0-3.1 ii libpotrace01.16-2 ii libreadline8 8.1-2 ii librevenge-0.0-0 0.0.4-6+b1 ii librsvg2-common2.50.7+dfsg-2 ii libsigc++-2.0-0v5 2.10.4-2 ii libsoup2.4-1 2.74.1-1 ii libstdc++6 11.2.0-10 ii libvisio-0.1-1 0.1.7-1+b1 ii libwpg-0.3-3 0.3.3-1 ii libx11-6 2:1.7.2-2+b1 ii libxml22.9.12+dfsg-5+b1 ii libxslt1.1 1.1.34-4 ii python33.9.7-1 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages inkscape recommends: ii aspell 0.60.8-4 ii fig2dev 1:3.2.8b-1 ii imagemagick 8:6.9.11.60+dfsg-1.3 ii imagemagick-6.q16 [imagemagick] 8:6.9.11.60+dfsg-1.3 ii libimage-magick-perl 8:6.9.11.60+dfsg-1.3 ii libwmf-bin 0.2.8.4-17+b1 ii python3-lxml 4.6.4-1 ii python3-numpy1:1.19.5-1 ii python3-scour0.38.2-1 Versions of packages inkscape suggests: ii dia 0.97.3+git20160930-9+b1 pn inkscape-tutorials ii libsvg-perl 2.86-1 ii pstoedit 3.77-1 pn python3-uniconvertor ii ruby 1:2.7.6 -- no debconf information