Author Topic: [SOLVED] Inkscape does not allow access to anything outside of ~/  (Read 2896 times)

June 18, 2018, 04:01:42 AM
Read 2896 times

Rhianne

  • Sr. Newbie

  • Offline
  • **

  • 5
Hi everyone,

I'm a web developer switching over from CorelDraw and so far InkScape does most of what I've needed to accomplish. My gratitude to the developers!

My problem is this: On my laptop (Ubuntu 18.04), I have a dev copy of a directory structure used on our production servers.


/acs
/acs/dev
/acs/uat


The reason this is done is because, in production, the /acs directory is a NAS mount and the code that resides in its bowels checks the execution directory to set a bunch of debug flags and whatnot. This is by way of saying that I can't just simply move it to my home folder and expect my dev codebase to work without hacks.

I can access these folders in Nautilus (or any other program) without any issues: I am recursively the owner of the lot (I just double-checked this again and in fact, I just in a vain hope gave everybody every available permission, recursively, it's rwxrwxrwx across the board for each file and directory in the hierarchy.)

However, the InkScape File|Open browser does not show the /acs directory in the File System view. It shows everything else, /etc, /usr, /bin etc. It's not even that it shows it but denies permission - it just doesn't show it.

Screenshot from 2018-06-18 12-57-19.png
*Screenshot from 2018-06-18 12-57-19.png
(69.77 kB . 537x740)
(viewed 1721 times)


I tried making a symbolic link to /acs in my home folder, it still doesn't show it. If I type /acs in the Location input, it tells me "No such directory".

I've worked around this for the last few days by manually copying the files I need to edit into my home directory and then copying them back after, but this has now gotten old and a right PITA. I want to edit images in-place, please.

I have no idea whether this is a file system permission problem or a bug in InkScape, or due to some idiosyncrasy of how InkScape treats user directories. My last resort is to copy the lot into my home folder and reverse the symbolic link, but this seems like silly overkill. I've trawled through the FAQ and program settings but nothing seems like an obvious solution (to a neophyte like me).

Any help to resolve this would be highly appreciated, and thank you in advance!

Rhianne

PS. It's InkScape 0.92 on Ubuntu 18.04 LTS 64-bit.









« Last Edit: June 20, 2018, 02:59:47 AM by Rhianne »
  • 0.92
  • Ubuntu Desktop 18.04LTS AMD64

June 18, 2018, 01:01:53 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

Your question is well over my head, so I would have to refer you to Inkscape developers to get an answer.  We do have one member who might be able to answer (but your question is so far over my head, I couldn't even guess if she might be able to answer, haha). 

If she can't answer, you can reach developers via the User mailing list or IRC (devel or user).  Info on both here:  https://inkscape.org/en/community/
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

June 19, 2018, 12:02:32 AM
Reply #2

Rhianne

  • Sr. Newbie

  • Offline
  • **

  • 5
  • 0.92
  • Ubuntu Desktop 18.04LTS AMD64

June 19, 2018, 02:44:45 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
I suspect you have installed the snap (https://tutorials.ubuntu.com/tutorial/basic-snap-usage) version of Inkscape. Snap is an extra safe, and thus extra restrictive way of installing applications on Ubuntu/Linux.
In my view, that package format still very much a 'work-in-progress', and there already exist better ones (others may disagree).
To check, do

Code: [Select]
snap list

on the command line.

Uninstall the snap version on the command line doing:

Code: [Select]
sudo snap remove inkscape

then install the 'real' Inkscape program from the ppa, following the instructions here:
https://launchpad.net/~inkscape.dev/+archive/ubuntu/stable

June 20, 2018, 02:57:12 AM
Reply #4

Rhianne

  • Sr. Newbie

  • Offline
  • **

  • 5
Moini... you're a bloody champion! Pillar of society, stand-up chap, hero of the people, &c!  :clap1: :2tu:

Screenshot from 2018-06-20 11-54-38.png
*Screenshot from 2018-06-20 11-54-38.png
(50.23 kB . 555x558)
(viewed 1709 times)


Thank you so much!  :ur:

Rhianne
  • 0.92
  • Ubuntu Desktop 18.04LTS AMD64

June 20, 2018, 01:26:07 PM
Reply #5

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
Glad it worked :-)

(and humh, I didn't know about that additional restriction - I think it's probably possible to lift it, using some command line command, but I wouldn't know which, and the ppa version doesn't have any of those restrictions, so it's usually the better choice (in my view). I had someone tell me that starting a simple calculator packaged as a snap takes 30 seconds... while almost no time when you use the normal .deb packaged version.).

June 20, 2018, 11:25:37 PM
Reply #6

Rhianne

  • Sr. Newbie

  • Offline
  • **

  • 5
Yeah, do we really need YAPM? Every donkey and his uncle wants to reinvent the wheel every six months.










(Yet Another Package Manager :))
  • 0.92
  • Ubuntu Desktop 18.04LTS AMD64

June 21, 2018, 02:23:50 AM
Reply #7

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

June 21, 2018, 05:38:41 AM
Reply #8

Rhianne

  • Sr. Newbie

  • Offline
  • **

  • 5
Hah! Not if you're a Hero Of the Soviet Union!  :-D
  • 0.92
  • Ubuntu Desktop 18.04LTS AMD64