Problem Note 34025: "Permission denied" to SASBIReportServices4.2.log when distributing SASĀ® Web Report Studio reports in batch or from a command line
When a user attempts to distribute a SAS Web Report Studio report in batch or from the command line, the following error might occur:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/usr/local/SAS/configdir/Lev1/Applications/SASBIReportServices4.2/Logs/
SASBIReportServices4.2.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
This error occurs because the SASBIReportServices4.2.log file is created with 644 permissions that do not allow any user other than the owner to write to this log. The owner is the first user who ran the distribution task in batch or from a command line.
To make the file writable to all users, perform these three tasks:
- Make all command-line and batch users members of the same group as LSF.
- Change the permissions on the SASBIReportServices4.2.log to 664 for the LSF group.
- Give the LSF group write permissions to the /Lev1/Applications/SASBIReportServices4.2/Logs folder.
Operating System and Release Information
| SAS System | SAS Web Report Studio | z/OS | 4.2 | | 9.2 TS2M0 | |
| 64-bit Enabled AIX | 4.2 | | 9.2 TS2M0 | |
| HP-UX IPF | 4.2 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2009-03-13 15:26:57 |
| Date Created: | 2008-11-24 13:22:46 |