- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Access permission for trusted storage file on Linux.
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @babu19
it seems like if you have to change the permissions of the TS files by yourself with your program.
I've tried it by myself and it is quite easy.
Best regards,
Max
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @babu19,
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.
Page 42.
Best regards,
Max
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
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.
Thanks,
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @babu19
it seems like if you have to change the permissions of the TS files by yourself with your program.
I've tried it by myself and it is quite easy.
Best regards,
Max
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Thank you @maximilianhense, Looks like this is the only solution
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Best regards,
Max
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)