Page 1 of 1

PB4 Mac: Constant "#PB_FileSystem_Archive" not de

Posted: Wed Jul 11, 2007 9:20 pm
by michel51
While using the constant #PB_FileSystem_Archive an errot occures:
"Constant not found".
A look into the constant list tells me, that's right. The constant ist really not defined.

Posted: Sat Jul 28, 2007 3:36 pm
by Fred
Yes, the PB_FileSystem_Archive flag is Windows only, as there is no similar attribute on Linux or OS X

Posted: Mon Jul 30, 2007 7:05 pm
by freak
On Linux and OSX, this command returns the file access flags. These are the constants:
(the help is updated for the next version already)

Code: Select all

  #PB_FileSystem_Link      : The file is a symbolic link
  #PB_FileSystem_ReadUser  : Access flags for the owning user
  #PB_FileSystem_WriteUser
  #PB_FileSystem_ExecUser
  #PB_FileSystem_ReadGroup : Access flags for the owning user's group
  #PB_FileSystem_WriteGroup
  #PB_FileSystem_ExecGroup
  #PB_FileSystem_ReadAll   : Access flags for all other users
  #PB_FileSystem_WriteAll
  #PB_FileSystem_ExecAll