Skip to contentSkip to conversation

sharing directories between users on same machine

DISCUSSION Urs Fässler 2 participants 2 messages Nov 19, 2014 – Nov 20, 2014

lore
Share & tools
lore
#0 lore raw

Hello,
we try to share the sstate-cache and download directory between multiple users on the same machine.

It seems that this don't work as yocto want to overwrite some files in those directories, but does not have the rights (since another user created them).

Is this not an use case?
- If it should work, can somebody give pointers what might went wrong (some missing configuration or so)
- If it can not work, can we do that differently?

Thanks
Urs

#1 lore raw

For the "download" directory, just set the permissions for the group to allow writing. I've used this with an NFS share that holds all downloads. The machien also runs apache and shares this directory via http.

I share the sstate-cache via http, and there's one machine that runs all builds every night, so that the cache is usually up to date. But I think chmod g+w on the sstate-cache dir should accomplish the same.

Quoted 7 lines · Urs Fässler

Hello,
we try to share the sstate-cache and download directory between multiple users on the same machine.

It seems that this don't work as yocto want to overwrite some files in those directories, but does not have the rights (since another user created them).

Quoted 8 lines

Is this not an use case?
- If it should work, can somebody give pointers what might went wrong (some missing configuration or so)
- If it can not work, can we do that differently?

Thanks
Urs

Met vriendelijke groet / kind regards,

Mike Looijmans
System Expert

TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best
Telefoon: (+31) (0) 499 33 69 79
Telefax: (+31) (0) 499 33 69 70
E-mail: [email protected]
Website: www.topic.nl

Please consider the environment before printing this e-mail

Visit us at Bits & Chips Smart Systems 20th November, 1931 Congrescentum Brabanthallen 's-Hertogenbosch, stand number 34
http://bc-smartsystems.nl