UCS 5.08: Bug on DC during directory share process?

UCS Version 5.0-8 errata1100

Sharing on DC:
create a new share on DC in Ldap container “shares” for a manged node server.
If the path in the ui is “/var” or subdirectories of “/var”, no Samba share files in /etc/samba/shares.conf.d/" on the managed nodes wilil be created.
Of course, this share will then not be displayed on the various clients.

Can anyone confirm this behavior ?

Yes, some directories can not be used as root for shares. I had this issue a few month ago with another directory (just not sure about the directory name).
Just create a new one like „shares“ and put your directories there.

thx for your confirmation !

Must share a directory under /var/www, as this is used several times an hour to export important data from an application on other clients. The data is continuously imported from there into a database via a PHP module. This module basically uses the PHP root directory as a prefix for finding the files.

I have now set up a share outside of “/var” and copy the files into the /var/www subdirs. But that actually just creates traffic and is prone to errors.

It is not clear to me why such shares can no longer be set up under ucs 5.x when it worked great under 4.x ?

I would strongly recomment NOT to use a share within your webserver folder for such purpose for security reason.
Sounds to me as if this is something for a tiny FTP-server instead.

the PHP import script handles ONLY with subdirs of ROOT_DIR from PHP.
So a file server is not a solution.

Mastodon