Focal Point
[CLOSED]how to control the file permission

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1337000186

February 29, 2016, 01:11 AM
jvb
[CLOSED]how to control the file permission
Hi,
We are placing file on server with following code on devstudio.
FILEDEF TESTING DISK &&APPSER/app/rep/test.xlsm
TABLE FILE CAR
PRINT CAR ON TABLE HOLD AS TESTING FORMAT EXL07
END

the file is getting place on the server but the same is not having permissions to open.
the file has following permission:
-rw-r-----.

Please suggest is there any way where we can change the permission of file to say -rwxrwsrwx.
so that the file can be opened.

we have checked the umask and it is set to 022.

We are on WF 8.1.04

This message has been edited. Last edited by: <Emily McAllister>,


WF 8.1.04,Infoassist,Oracle, Excel, PDF,HTML.
February 29, 2016, 08:11 AM
BabakNYC
If you have Operating System permissions, you should be able to issue a !chmod 777 test.xlsm right after the TABLE.


WebFOCUS 8206, Unix, Windows
February 29, 2016, 03:46 PM
Waz
Agreed,

The assumption is that the server is linux or unix, then the chmod will work.

Make sure you have a -RUN between the TABLE FILE and the chmod command


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!