I am using Java toolkit. When it creates a trusted storage file in Linux, it gives read only access to the owner. How can I change the default permission so that it will create trusted storage with read permission to other users? I could not find an API for this.
Parent directory, d r w x r - x r - x
did you tried these recommendation from the JavaXT 2019R2 User Guide?
The trusted storage directory to use depends on your desired license models. In a multi-user environment, it may be
desirable to specify a common, per-machine directory, so that license rights are shared by all users. However, this may
require that your product installation procedure modify the trusted storage directory’s permissions.
Thank you for your response.
Yes, I have gone through the document. The parent directory is already existing and has read access to all the users (d r w x r - x r - x). However, when the application invokes the license code it just creates trusted storage files under the directory with read permission only to the owner.
Does it mean the application has to manually change the permission directly on the trusted storage file? I need to provide read access to all users.