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

Avatar

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

10-01-2019

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 !

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

15-01-2019

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

Thanks!

Answers (10)

Answers (10)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

16-01-2019

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

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

15-01-2019

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

Avatar

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

15-01-2019

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

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

15-01-2019

Option variable?

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

11-01-2019

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

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

10-01-2019

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

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

10-01-2019

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

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

15-01-2019

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

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

10-01-2019

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

Avatar

pradyumns539618

Avatar

pradyumns539618

pradyumns539618

10-01-2019

Hi Jon,

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

1665007_pastedImage_0.png

please check !

Thanks !