Ns8-copyparty app

Hi,

Packaged copyparty for NS8, please test.
Instructions can be found here: ns8-copyparty

3 Likes

Wikinized

1 Like

hi Viking, thanks for the new addition.
Quick question, should we or should we not have implemented it as a root module

And after installing this module, how would i use it in a module like say, webserver module, where i need to explore the files, Update them and runn commands with them using copyparty

What do you mean by implementing it as a root module?

The main motivation for packaging this app, except that i find it a nifty tool, is that i am also need a easy way for users to transfer files into the instances, namely the ns8-logitechmediaserver, and the upcoming replacement ns8-lyrionmusicserver which is cooking atm.

This is a way to get experience with the app, and as i find it useful and working nicely, why not share.
Anyway this means i am considering putting a copyparty container into those other modules.

most of containers are rootless module so run by a simple linux user. Other way could be to have containers rootfull run by root like dnsmask, netdata or crowdsec

from my point of view it is a flaw and it should never be done except for a good reason

dnsmasq it is for dhcp

netdata to acces to log and metrics of hardware

crowdsec to set ip ban inside the firewall and read log

crowdsec in most of that is also set as a privileged container…..so with all possible rights

in short your container is hacked then your container is root on the system

so I will never install a root container that it has not been done by the nethserver team and I can sleep well

3 Likes

That is what i feared it meant.
And i totally agree, no privileged container unless it is a very good reason (necessary), and regardless of the creator.

Actually i was wondering how to spot such a module from the UI, e.g. without looking build-images.sh file? So far i did not see any of that.
Even then you cannot be 100% sure unless you build the module your self.

AFAiK it is the job of the software center, I recall a banner to inform about the degrees of confidence we can have on this software…..when you are a foreign forge you are low by design

yep…..sharing data among containers is possible without to be root…..it is the previous 777 way of the good old time.

use networking !!!

I do not seem to be able to find this information in the software center, and looking at the certification levels also does not give a clue.

i see the code

1 Like

also

Sure, but it should be clear to any admin with out the need for developer skills.
But as you showed the code snippets above it will be visible, so all good i think.

1 Like

yep probably we should drop a line in the documentation

nobody reads the documentation but AI does it now :slight_smile:

cc @davidep what about in the ns8 documentation to explain the difference between rootfull and rootless and why rootfull should be avoided

3 Likes