cache management for several users

8 views
Skip to first unread message

gregory....@gmail.com

unread,
Dec 16, 2015, 8:38:53 AM12/16/15
to bower
Hello.

The context:
Bower version: 1.5.3
Node version: 0.12.7
OS: Linux 2.6.32-358.23.2.el6.x86_64 x64

Several users uses the machine. All of them use Bower. They share a same cache location define in a global bowerrc with storage.package: "path/to/packages/"

The issue:
When a user A checkout package from a registry, some cache is created in package directory.
For example: /path/to/packages/fe4399be35b0d38839088d89f8bb5d11/0.2.15

When a user B does the same, it gets the following error:
Stack trace:
Error: EACCES, rmdir '/path/to/packages/d0285a1c9f5153baecaa6e04ec30fe90/3.3.5'
    at Error (native)

It occurs that the 0.2.15 is only writeable by the owner. Groups are not allowed.

My question: how can several users share the same cache location?

Regards.




Reply all
Reply to author
Forward
0 new messages