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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

pradyumns539618
Level 3
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
pradyumns539618
Correct answer by
Level 3
Level 3

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

Thanks!

View solution in original post

11 Replies
wodnicki
Community Advisor
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

pradyumns539618
Level 3
Level 3

Hi Jon,

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

1665007_pastedImage_0.png

please check !

Thanks !

wodnicki
Community Advisor
Community Advisor

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

pradyumns539618
Level 3
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

wodnicki
Community Advisor
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?

pradyumns539618
Level 3
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!

pradyumns539618
Level 3
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!

wodnicki
Community Advisor
Community Advisor

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

pradyumns539618
Correct answer by
Level 3
Level 3

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

Thanks!

View solution in original post

wodnicki
Community Advisor
Community Advisor

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