More problems for file permissions
Marvin Addison
serac at vt.edu
Sat Mar 17 16:22:32 EDT 2007
> I am having log file permission problems trying to get CAS to work on
> Ubuntu Dapper (6.06).
I have successfully run CAS on Ubuntu Dapper and Edgy, in fact the
latter is what I use daily for CAS development. That said, it appears
you are using the Ubuntu Tomcat package, correct? I have two
recommendations in any case.
1. If this is for a developer workstation, I recommend installing
Tomcat from the Apache site into a subdirectory of your home directory,
e.g. /home/marvin/apps/tomcat. This is a very convenient solution for a
developer workstation because you own everything below your home
directory. You don't even have to remove the Ubuntu package as you can
just set your TOMCAT_HOME, CATALINA_HOME, and CATALINA_BASE envrionment
variables in ~/.bash_profile such that they point at your private
installation.
2. If this is for a server deployment, I would recommend creating a
user account for tomcat (e.g. tomcat) and installing Tomcat inside that
user's home directory as above. You would then sudo to the tomcat user
to deploy and manage your applications. This is a good strategy for
convenience, auditing, and security.
I realize I've just given two suggestions to circumvent your problems
instead of solving them, but these strategies work well for our
developers and production environment.
Regards,
Marvin Addison
Application Programming Analyst
Collaborative Technologies Unit
Virginia Tech
More information about the cas
mailing list