As I understand it, you are supposed to be able to specify which package can perform whatever functions you give them rights to. So I made the following entry:
Code: Select all
FileAccess Commands
{
Package commands
Extension .cfg
AllowRead 1
AllowRemote 1
AllowWrite 1
AllowAppend 1
}
I have a command in the ..\commands\test directory which needs access to the POL root directory to create a folder there and write cfg files in it. However with the above entry the command can create the directory but it can't create any files in the directory. If I change the entry in fileaccess.cfg to:
Code: Select all
FileAccess Commands
{
Package *
Extension cfg
AllowRead 1
AllowRemote 1
AllowWrite 1
AllowAppend 1
}
It works but I'd rather not give universal access for cfg file creation.
So the question is: Am I doing something wrong or is this a bug (feature
) of POL?