sudo chmod -R 777 /var/wheels/www/WEB-INF
-R = makes it recursive. In theory, you shouldn't do this as it makes every file / subdirectory in that directory writeable.
Are you running Tomcat or Resin? If you're running Resin, then you should create a user that resin runs as and you should chown all the files over to that user so they have permission to modify this.
This isn't a Railo issue. This is a file permission / linux issue.
--
~Todd Rafferty ** Volunteer Railo Open Source Community Manager **
http://getrailo.org/