Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-07 Thread Peter Benko
On Thu, Sep 06, 2012 at 10:50:30AM -0700, Udam Dewaraja wrote: > Hi all, > > I'm stumped on a seemingly java/tomcat related issue and am hoping someone > can provide some help. > > > We have two users ('user1' and 'user2') on our linux server that share the > same group ('group1'). User 'user1'

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
In my code, the RandomAccess file is trying to do a read (code below). That's why all my tests are doing reads. logFile = new RandomAccessFile(fileToRead, "r"); The sample java application I ran executes the exact same line above (with the same file) and reads the contents correctly. However, in

Re: Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread André Warnier
Udam Dewaraja wrote: Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes some files that have the following permissions:

Tomcat running with a shared unix group but unable to read files with group permissions

2012-09-06 Thread Udam Dewaraja
Hi all, I'm stumped on a seemingly java/tomcat related issue and am hoping someone can provide some help. We have two users ('user1' and 'user2') on our linux server that share the same group ('group1'). User 'user1' writes some files that have the following permissions: -rw-r- 1 user1 grou