Problem in creating and reading files in CIFS mount in linux
Posted on 2014-04-29
I have directory which is mounted to cifs share via /etc/fstab file, the directory has permission has shown below when it is mounted.
drwxrwxrwx 1 applmgr dba 4096 Apr 29 01:26 HFM_BPC_TRIGGER_FILES
i have user name oracle who is part of dba group.
uid=200(oracle) gid=511(oinstall) groups=511(oinstall),512(dba)
we have pl/sql script that is being invoked using oracle id, and that script writes output file to HFM_BPC_TRIGGER_FILES directory. The weird thing is that i can not see the output file when the directory is mounted to cifs share, and when i unmount it i can see the output file.
can someone shed light on why this behaviour ?
my fstab entry
//windows_server/Trigger_BPC/ /oracle/d1/oracle/xxvm/11.5.0/data/outlooksoft/HFM_BPC_TRIGGER_FILES cifs rw,credentials=/opt/int9/.pass,file_mode=0777,dir_mode=0777,uid=212,gid=512 0 0