Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
permissions on log files ?
nipper
Then I run custom ipl, the new log files created only have owner read/write permission, no group or other read access. Since the tasks run as users other than myself at times, I cannot check the log.
I know I can go into the PERL and for each logfile, change how it is created. But since sometimes I use open, other times I redirect STDOUT & STDERR, this would be a pain.
So I am looking for the silver bullet. ANyone have one handy ?
TIA
Andy
Find more posts tagged with
Comments
Adam Stoller
Are you on Unix?
You might be able to make use of the Perl umask() function - I think you could do something like:
umask(0666);
prior to when you create the log file.
--fish
(Interwoven Senior Technical Consultant)
nipper
Yea, I was planning on that if there is not something easier. I really wanted one place to change a single spot rather than each workflow someone here writes. Thus I was hoping there would be a way to have the WF engine use the default umask fo the owner of the task being executed.
Andy
Adam Stoller
Perhaps create a Perl module for logging routines and tell people to use it rather than rolling their own...
--fish
(Interwoven Senior Technical Consultant)