This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes webapp permissions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "webapp permissions" Watch "webapp permissions" New topic

webapp permissions

Angel Dobbs-Sciortino
Ranch Hand

Joined: Sep 10, 2003
Posts: 101
I am working on a project where a few developers should be able to upload our web application to Tomcat's webapp directory using scp. Each developer is in the same default group. The problem is that when the webapp is uploaded, it sets the file permissions to read-only for the group. Is there a way to make it automatically set the file permissions to read and write for the group without using chmod after the fact? We are using SuSE 9.1.

Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
Try the umask command, it sets the mode when a file is created.
wood burning stoves
subject: webapp permissions
Similar Threads
Java code for giving write permission to group(775)
vista file permissions
log4j and file permissions
getting unix like file information the java way
linux file permissions