Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
(1) if all my app files in a jar have my user name
and my permission inside the jar what
happens when i deploy the jar to
another users system (download).
the jar itself will also have my regular
account user name.
(2) can you make it so the files have no owner?
or group,i've seen files like that in an archive
(3) or do you just leave it as root:root.
does everyone run a root user and root group?
i dont know anyone that uses linux and only have
my 1 machine. this part i cant test myself.
once i get this piece straight i can go ahead
and hook up the java webstart kind of soon.
thanks for any tips. i tried searching but
i must not be putting in the right keywords.
jim
(1) if all my app files in a jar have my user name
and my permission inside the jar what
happens when i deploy the jar to
another users system (download).
the jar itself will also have my regular
account user name.
Think of it like a zip file. When another user unzips the files, it's usually going to be owned by them, not whoever zipped them up. This you can test yourself by creating another user.
(2) can you make it so the files have no owner?
or group,i've seen files like that in an archive
Not that I know of and what would be the advantage of that?
(3) or do you just leave it as root:root.
does everyone run a root user and root group?
Running as root is just bad security. Most people will use sudo or su as root when they need such privileges that only root has.
...When another user unzips the files, it's usually going to be owned by them, not whoever zipped them up. This you can test yourself by creating another user.
Just as an FYI: "usually" is better characterized as depends up tar version, depends on options selected at extract time, depends on archive mode. We shouldn't think of computers as probabilistic; for many, they do seem to have a mind of their own.
Just as an FYI: "usually" is better characterized as depends up tar version, depends on options selected at extract time, depends on archive mode. We shouldn't think of computers as probabilistic; for many, they do seem to have a mind of their own.
But he's not using tar, it's a jar file. I only used zip as a reference since tar and jar's are sort of the same concept.
And computers don't have a mind of their own, we tell them what to do. That's why there's options and also why I mentioned to test it for them self.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.