Automic Workload Automation

 View Only

 Automic created files and folders are not visible to normal users

Mateusz Minicz's profile image
Mateusz Minicz posted Jan 09, 2023 09:59 AM
Hi All,
I have recently started working with Automic (although a very old version 11.2.2). I have been following training manual but the files and folders I create via Automic are not visible to normal users (including myself).
Is there a setting somewhere on properties of the created files? Or is it something else?
Is anyone able to advise me?
Thank you,
Mat
Christoph Rekers's profile image
Christoph Rekers

Hi Mat,

What do you mean with files and folders? In case you mean OS files and folders=> what OS?. And what are normal users?

Would be helpful to know exactly what you do and what you try to achieve.

Cheers
Christoph

Mateusz Minicz's profile image
Mateusz Minicz
We are using Windows OS.
By files and folders created by Automic, I meant folders created using "mkdir" command while files are created by e.g. using "dir /b /s D:\Automic\Temp >> D:\Automic\Temp\FileListNew.txt". In both scenarios, those commands are executed in JOBS.WIN object and Automic service account is used by Automic to create them.
When I login to my personal AD account, I cannot see them but Automic service account can still see them when I tried running "dir" or "type" command from Automic job. I require the files to be visible by any user logged into their devices and having access to the folder where the file is created.
I am working on creating list of files in a directory and then writing it to the file afterwards. Aside from basic task, I plan to implement email notifications as well.
I am sorry if I am not clear with some of the terminology but I am mostly self taught and I am still going through the training material.
Michael Dolinek's profile image
Broadcom Employee Michael Dolinek
Hi @Mateusz Minicz

it looks like that OS permissions for the files/folders you create by your AE-job are set in that way that your "regular" user can not access them.
What is the output of the command line tool cacls or icacls?

Michael
Mateusz Minicz's profile image
Mateusz Minicz
This is for the file i created via automic:
1. cacls results:
BUILTIN\Administrators:F
NT AUTHORITY\SYSTEM:F
domain\Automic_OPS1:F
BUILTIN\Users:R

2. icacls results:
BUILTIN\Administrators:(I)(F)
NT AUTHORITY\SYSTEM:(I)(F)
domain\Automic_OPS1:(I)(F)
BUILTIN\Users:(I)(RX)

Automic_OPS1 is the automic service account. I replaced actual domain name with just "domain".
Mateusz Minicz's profile image
Mateusz Minicz
I have spoken with a colleague who worked on Automic at our company before but moved on since internally. He has advised me that this may be due to the server settings on which I am doing tests but if used in a shared locations that most of the live jobs are using, "normal" users should be able to see them. I plan to test this later once I received approval but any further tips will be appreciated.