• Post Reply Bookmark Topic Watch Topic
  • New Topic

RHLE : Permission denied while writing file into directory  RSS feed

 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello,

  We have 4 RHEL server's And JBoss 7.x installed in it. All 4 server's share common mount point where application write file into that mount point.

$df -kh
x.x.x.x:/dir_1/dir_2
                       97G   23G   70G  25% /dir_1/dir_2

There are sub directories created under /dir_1/dir_2.

Now If application running on server_1 already copied file into /dir_1/dir_2/dir_3 and application server 2 has to over write same file into /dir_1/dir_2/dir_3 then i Get below Exception.


11:26:56,699 ERROR [NP_APP_AL] (Thread-1374856) |||null : MMDispatcher : send(message): java.io.FileNotFoundException:  /dir_1/dir_2/dir_3/RANGODADHI CHEMICAL PVT LTD.pdf (Permission denied)

All jboss instances are running under same user in all server's.

Regards,
Jay
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!