Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to make my rsnapshot-backups available to non-root users on a Ubuntu server. There is a step-by-step instruction in the rsnapshot HOWTO, which I think I've followed to the letter.

The HOWTO tells me to create the directories /.private/.snapshots/ (backup folder) and /.snapshots/ (mount point).

In /etc/exports, add /.private/.snapshots/ as a read only NFS export:


In /etc/fstab, mount /.private/.snapshots/ read-only under /.snapshots/

localhost:/.private/.snapshots/   /.snapshots/   nfs    ro   0 0

However, when I issue the command:

mount /.snapshots/

I get this error message:

mount.nfs: access denied by server while mounting localhost:/.private/.snapshots/

The package nfs-kernel-server is installed and I restarted it after editing /etc/exports.

What did I miss?

share|improve this question

Not entirely sure why but if you force it to NFS version 3 it should work:

mount -t nfs -o vers=3 localhost:/.private/.snapshots/   /.snapshots

The corresponding line for your fstab file would be

localhost:/.private/.snapshots  /.snapshots     nfs ro,vers=3,auto      0   0
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.