darkside40 Posted January 24, 2021 Share Posted January 24, 2021 Hi there, i would like to modify a plugin i use. For that i have to unpack and repack the txz. Could somebody give me a hint how to repack everything without getting permission issues after install? I know how it works in Windows because it dont care about permission but not how it works in Linux. Quote Link to comment
darkside40 Posted January 26, 2021 Author Share Posted January 26, 2021 Okay figured it out by myself: tar -cJf plugin.txz --owner=0 --group=0 plugin/ Quote Link to comment
itimpi Posted January 26, 2021 Share Posted January 26, 2021 I use the ‘makepkg’ command when building the .txz file for my plugins. Quote Link to comment
darkside40 Posted January 27, 2021 Author Share Posted January 27, 2021 Sounds interesting? Any special commandline options or cfg file neccessary? Quote Link to comment
ich777 Posted January 27, 2021 Share Posted January 27, 2021 1 hour ago, darkside40 said: Sounds interesting? Any special commandline options or cfg file neccessary? No this is a system utility in Slackware, this is the default package system for Slackware, what do you want to pack? Quote Link to comment
darkside40 Posted January 27, 2021 Author Share Posted January 27, 2021 I simply need to pack the plugin structure lying in the usr/ folder on my development machine. Till now i simple run a chmod 755 on that folder and after that i package it with the tar command like this: tar -cJf plugin.txz --owner=0 --group=0 usr/ Dont know if there is any benefit doing this with makepkg. Quote Link to comment
ich777 Posted February 1, 2021 Share Posted February 1, 2021 On 1/27/2021 at 3:59 PM, darkside40 said: Dont know if there is any benefit doing this with makepkg. Permissions are set/reset if you want it automatically... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.