You are not logged in.

#1 2007-06-04 19:11:50

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Network Shared Pacman Cache

I am trying to setup subject as explained here
http://wiki.archlinux.org/index.php/Net … cman_Cache

Although I can mount it, I cannot write to it.  Exemple:
touch: cannot touch `/var/cache/pacman/pkg/test.txt': Permission denied.

This is what I have in my /etc/exports:

/       192.168.0.50(rw,sync)
/var/cache/pacman/pkg 192.168.0.50(rw,sync)

Offline

#2 2007-06-05 15:00:27

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 128

Re: Network Shared Pacman Cache

I think you need to add the "no_root_squash" option to your /var/cache/pacman/pkg export, or change the permissions on /var/cache/pacman/pkg on the server. See the description of the "root_squash" and "no_root_squash" options in "man exports".

Offline

#3 2007-06-05 15:38:28

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: Network Shared Pacman Cache

I have this in my exports file:
/var/cache/pacman/      192.168.0.7(rw,no_root_squash,no_subtree_check)

Have you tried this instead:
http://wiki.archlinux.org/index.php/Rucksack
It handles the sharing for you.

Offline

#4 2007-06-05 21:47:39

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: Network Shared Pacman Cache

Thanks dninja.  The no_root_squash did the trick.  Everything is working fine.

Offline

Board footer

Powered by FluxBB