File created by application server on mounted drive is not writeable
Hi all,
I have a web application(java 5, mysql server) installed on Tomcat on Red Hat 5.
Part of the functionality is to allow the upload of files to a windows share. I have mounted the share using the following command.
mount -t cifs //iedev196/sharedDocs -o username=xxx,password=xxxxxx,file_mode=0777,dir_mode=0777 /mnt/shareddocs
Any file I create here from the terminal gets full write permissions.
"-rwxrwxrwx"
The problem is that when the application server creates the file it gets created with the following.
"-rw-r--r--"
How can I get files created from the server to be "-rwxrwxrwx"
Regards
Darran
Last edited by darrankavanagh; 09-16-2010 at 06:50 AM.
|