You are not logged in.

#1 2024-11-22 17:14:00

notadaughter
Member
Registered: 2024-04-08
Posts: 6

[SOLVED] Give myself permission writing to /usr/lib

I've installed Volatility3. When running, it oftentimes requires writing to /usr/lib/python3.12/site-packages/volatility3/symbols/. What's the best way to do it without sudo? Should I change the ownership? Should I give writing permission to "other"? Or maybe should I just run it with sudo every time?

Last edited by notadaughter (2024-11-30 12:16:55)

Offline

#2 2024-11-22 18:23:52

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,417
Website

Re: [SOLVED] Give myself permission writing to /usr/lib

None of the above. User-run processes should never write to system directories.

How did you install this software?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-11-22 18:50:03

notadaughter
Member
Registered: 2024-04-08
Posts: 6

Re: [SOLVED] Give myself permission writing to /usr/lib

sudo pacman -S volatility3

WorMzy wrote:

How did you install this software?

Offline

#4 2024-11-23 13:45:33

seth
Member
Registered: 2012-09-03
Posts: 58,974

Offline

#5 2024-11-29 09:40:21

notadaughter
Member
Registered: 2024-04-08
Posts: 6

Re: [SOLVED] Give myself permission writing to /usr/lib

So, as far as I understand, the best way is just to install Volatility3 locally via git clone?

Offline

#6 2024-11-29 10:15:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,970

Re: [SOLVED] Give myself permission writing to /usr/lib

https://github.com/volatilityfoundation/volatility3/issues/598 wrote:

By altering the symbols_basepath constant you can put a user writable directory first, that would still be used by the installed system. This can also done by adding -s <path> manually to each invocation of the CLI.

Just create a folder ~/.config/volatility  and setup a shell alias that adds -s ~/.config/volatility to the command used to start volatililty .
For bash read https://wiki.archlinux.org/title/Bash#Aliases .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#7 2024-11-30 12:12:43

notadaughter
Member
Registered: 2024-04-08
Posts: 6

Re: [SOLVED] Give myself permission writing to /usr/lib

Thanks!

Offline

Board footer

Powered by FluxBB