Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello. As I am new to Centos5, I am looking for a little clarification regarding the concepts involved with file ownership of users.
When building a Java web application (compiling and making a WAR file) on a CentOs server, and then subsequently deploying this WAR to tomcat's webapps directory, what is the best practices 'user' that should be performing these operations?
I ask this assuming that tomcat is a service that runs under the tomcat user on the same machine.
Must I log in as user 'tomcat' anytime I build an application so that the owner of the WAR file will be tomcat and thus the tomcat service will have access to the WAR file? Is this neccessary? Or is it possible to log in as any user and perform the build? I haven't tried this yet but wanted to get a handle on the correct concept first.
I am new to linux file permissions and I am trying to comprehend the strategy about how to handle these issues.
I appreciate any help someone can offer to clarify this for me.
I doesn't matter who builds the WAR file from a permissions standpoint. A WAR is just a specially organized JAR file, and they don't carry permissions internally like a TAR archive does. At my company we have a policy that only a designated user can deploy webapps. This is the same user that runs the Tomcat server. But depending on the directory permissions, it might be possible for anyone to deploy web applications.