We are using Teamsite 6.5. In workflow process, the file is assigned to an editor for reviewing and locks are transferred to the editor.Similarly,on rejection the locks are transferred back to the author.During the transfer of locks, the file permission are changing automatically and after rejection by editor, author could not able to edit the file.Has anybody faced such issue or anybody knows about the root cause,please help me !!
We are using Teamsite 6.5. In workflow process, the file is assigned to an editor for reviewing and locks are transferred to the editor.Similarly,on rejection the locks are transferred back to the author.
During the transfer of locks, the file permission are changing automatically and after rejection by editor, author could not able to edit the file.
In our system, all the files has 664 permission. In the workflow process after the editor rejects the content, the file permission changes to 644.But it happens sometime.I could not able to find out root cause. I thought of adding 'chmod 0664 $filepath' at the end of the code posted by me earlier.I don't know whether it would be helpful or not ?
In submit.cfg, we are setting file permission as 664.There is no code to change file permission in Perl scripts.Is it possible that iwlock/iwunlock behaves abnormally and not setting permission properly ?ThanksPriya
/tmp > rm x;umask 2;touch x;ls -l x-rw-rw-r-- 1 ghoti wheel 0 Jun 21 08:32 x /tmp > rm x;umask 22 ; touch x ; ls -l x-rw-r--r-- 1 ghoti wheel 0 Jun 21 08:33 x