--- Aria Bamdad <[EMAIL PROTECTED]> wrote:
> > Solved!!! > > The solution is to use the linux group sticky bit to > force any files > created in a directory (and subdirectories) to have > the same group > as the parent. For example let's say there are two > applications, > one for accounting and one for payroll. If you > create a directory > for accounting and one for payroll, each belonging > to their own > group and tomcat belonging to both groups, then > tomcat can read the > files in both directories but when it creates a > file, it ends up > being tomcat user and tomcat group. If you change > the settings on the > two directories as follows: > > chmod g+ws /accounting > chmod g+ws /payroll > Aria, good to know the problem is solved. Wish I had seen your latest post before replying a few minutes ago. To set the group sticky bit on dirs from 'app' down: $ find ./app -type d | xargs chmod g+s -Bob __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]