9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Matthias Teege <matthias-9fns@mteege.de>
To: 9fans@9fans.net
Subject: [9fans] Permission Problem with p9p vnfs
Date: Thu, 14 May 2009 12:06:45 +0200	[thread overview]
Message-ID: <483e79dcd9b8b3bc4fdb9d83e30e38c8@mteege.de> (raw)

Moin,

I run "vnfs -L -i -b16k -c1k venti.score" on linux and mount it with
"vmount 127.0.0.1 /dump". If I try to access a private file as root I've
got "permission denied".

# id
uid=0(root) gid=0(root)
# ls -al /dump/a/2009/0427/home/x/
drwx------ 2 2004 2004  1024 Feb 27 09:29 .ssh
# ls -al /dump/a/2009/0427/home/x/.ssh/
ls: cannot open directory /dump/a/2009/0427/home/x/.ssh/: Permission denied

For restore I need access to all files. How do I get permission to a
private file without changing to the uid of the file?

Many thanks
Matthias




             reply	other threads:[~2009-05-14 10:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14 10:06 Matthias Teege [this message]
2009-05-15  0:31 ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483e79dcd9b8b3bc4fdb9d83e30e38c8@mteege.de \
    --to=matthias-9fns@mteege.de \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).