Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

webapp permissions  RSS feed

 
Angel Dobbs-Sciortino
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Angel
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try the umask command, it sets the mode when a file is created.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!