Focal Point
COMT file permissions

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

January 03, 2008, 02:47 PM
Brian Snell
COMT file permissions
Has anyone ever had to save a COMT (csv) file to an NT box using ReportCaster... and force the file to read only?
January 04, 2008, 09:04 AM
jgelona
I have had to do this in UNIX/LINUX and use the CHMOD command. On a Windows box, I'd use the DOS command ATTRIB to set the permissions:

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
       [/S [/D]]

  +   Sets an attribute.
  -   Clears an attribute.
  R   Read-only file attribute.
  A   Archive file attribute.
  S   System file attribute.
  H   Hidden file attribute.
  [drive:][path][filename]
      Specifies a file or files for attrib to process.
  /S  Processes matching files in the current folder
      and all subfolders.
  /D  Processes folders as well.



In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.