Inkscape.org
Beginners' Questions export png file permissions in Ubuntu 20.04
  1. #1
    D.A.Jeremy D.A.Jeremy @D.A.Jeremy

    Hello. How are you doing?

    When I was using version 1.0 it was fine since inkscape export png file with file permission 640. Now I'm using 1.1.1 upgraded version then it exports the file with permission 600. All other settings are the same. I upgraded it by using ppa. Should I live with it or do you guys know how to make it work like before?

  2. #2
    inklinea inklinea @inklinea⛰️

    In Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20) on Ubuntu 20.04

    My svg files are saved as 664 by Inkscape.

    Try echo 'Hello' > hello.txt

    then stat -c '%A %a %n' *.txt

    It may be simply a function of your user account.
     

  3. #3
    D.A.Jeremy D.A.Jeremy @D.A.Jeremy
    *

    Thanks for the test, but svg file is different from the export file. I meant exporting png file. 

    My svg files are fine as well as the hello.txt file.

     

  4. #4
    inklinea inklinea @inklinea⛰️

    I had a look and my .png were also being exported with permissions as 600. 

    I can't think of a way to change that.

  5. #5
    D.A.Jeremy D.A.Jeremy @D.A.Jeremy

    Thanks for the reply. I'm getting tired of doing chmod everytime sharing the file. 

  6. #6
    inklinea inklinea @inklinea⛰️

    If you open a new terminal window - or I like to use a different terminal such as Xterm just so it appears different.

    In Ubuntu you can use:

    watch -n1 -x chmod 664 ./PermissionTest/* -R

  7. #7
    D.A.Jeremy D.A.Jeremy @D.A.Jeremy

    Thanks for the suggestion. 

  8. #8
    Sébastien Bouchard Sébastien Bouchard @SebastJava

    Bug report already done there:
    https://gitlab.com/inkscape/inkscape/-/issues/2574

    NOTE: Everything works fine when you just keep overwriting an OLD.png. You get this problem when you export some NEW.png.

    Temporary fix: chmod 664 /PATH/TO/FILE.png

Inkscape Inkscape.org Inkscape Forum Beginners' Questions export png file permissions in Ubuntu 20.04