emacs/var/elfeed/db/data/1d/1da359be8a7718b026d0f7338fad586c57b96ebd
2022-01-03 12:49:32 -06:00

1 line
1.2 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>I made a PKGBUILD for a python package, and everything is working fine, except for one thing that breaks: the package needs to generate some assets and puts them in its source directory structure, something like this:</p> <pre><code>/usr/lib/python3.10/site-packages/mypackage/some/path/to/assets </code></pre> <p>This needs to happen whenever the application is launched, because the assets can be expanded/modified later on. However, this is (rightfully) failing with a permission error, because the app itself does not have write permissions in that directory.</p> <p>Is there a way around this that does not involve changes upstream? If not, what&#39;s my goal with potential upstream changes? Writing in /usr/share/package? /usr/local/share? Something else?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/brisvag"> /u/brisvag </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/rgwrqh/aur_python_package_and_usrlibpython_write/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/rgwrqh/aur_python_package_and_usrlibpython_write/">[comments]</a></span>