Re: zero install query
"Bastian Eicher" <[email protected]> Tue, 22 Nov 2016 00:15:00 +0100
| Newsgroups | gmane.comp.file-systems.zero-install.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Sanketh, you can add a custom directory as a cache location for the current user using this command-line: 0install store add-dir \\fileShare\folder\ To add the cache location for all users on the current machine use: 0install store add-dir --machine \\fileShare\folder\ However, there are a few of things you need to consider: * Zero Install uses ACLs to prevent unintended modifications to implementations. This means the file share must be stored on an NTFS volume and the user needs to be able to modify file permissions. * While Zero Install itself should have no problems reading and writing from a file share, some applications started via Zero Install may not work properly when run from a UNC path. You may want to consider mounting the share to a drive letter, e.g. Z:, for better compatibility. * The Zero Install Store Service handles sharing implementations between multiple users without requiring the users to trust each other. The service takes care of validating the implementation digests/hashes. However, this does not work if users on different machines are sharing a single cache via the network. In this case the users need to trust each other not to maliciously manipulate the cache. Regards Bastian -----Original Message----- From: Sanketh [mailto:[email protected]] Sent: 19. November 2016 16:06 To: Bastian Eicher <[email protected]>; The Zero Install system <[email protected]> Subject: Re: zero install query Dear Bastian and team, Could you please clarify if it is possible to use network path (\\fileShare\folder\) for caching instead of local disk? If yes, kindly point me to the document or could you explain how to configure it? If it is not possible, is there any workaround or can I implement IFeedCache interface to achieve this? And how to integrate the newly implemented cache management with zero install. Thank you in advance, Sanketh ------------------------------------------------------------------------------