Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
SOLVED

Access issue while generating a file at \'/usr/local/neolane/..../\'

Avatar

Level 3

Hi ,

I am trying to generate a file on server under '/usr/local/neolane/..../' which contains out-of-box schema columns .

But when i run the workflow to generate the file , it gives below error :

1664392_pastedImage_0.png

Can any check and let me what can be issue here .

Thanks !

1 Accepted Solution

Avatar

Correct answer by
Level 3

its, XtkSecurity_Allow_PrivilegeEscalation , this is new option variable comes under latest build .

Thanks!

0 Replies

Avatar

Community Advisor

Hi,

What's the log output if you run a js activity with:

logInfo(execCommand('ls -la /usr/local/neolane/scripts/etl/OldAndNew_ETL'))

logInfo(execCommand('touch /usr/local/neolane/scripts/etl/OldAndNew_ETL/test'))

Thanks,

-Jon

Avatar

Level 3

Hi Jon,

When i ran the above execute command ,got the below logs:

1665007_pastedImage_0.png

please check !

Thanks !

Avatar

Community Advisor

You have write perms to the dir, should be able to create the file. This is writing from a js activity?

Avatar

Level 3

Yes,i have the 'neolane' level perm, but still i unable to find where is the issue while generating the file .

this is the workflow through which i am trying to generate the file :

1665014_pastedImage_0.png

This is JS code which got failed and gives the error(Access to '/usr/local/neolane/ ' is forbidden) in Workflow(Named:Decide FileName)

1665015_pastedImage_1.png

Avatar

Community Advisor

Yeah that's pretty weird. I was unable to repro, errors I induced were all BAS-*, nothing JST.

This isn't some kind of mount point is it?

Avatar

Level 3

Hi ,

There was few option variable which missing , due to this it was giving access issue .

After created the option variable , it worked .

Thanks!

Avatar

Level 3

Yes , there is OOB option variable start with (XtkSecurity....) . this variable was missing due to this it was not allowing to generate the file .

Thanks!

Avatar

Community Advisor

Interesting. What's the full name of the option?

Avatar

Correct answer by
Level 3

its, XtkSecurity_Allow_PrivilegeEscalation , this is new option variable comes under latest build .

Thanks!

Avatar

Community Advisor

Seems like every build introduces new security controls. Good to know, thanks.