public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan Kögl" <koeglstefan@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to access mounted dir with non-root?
Date: Fri, 12 Aug 2005 17:47:22 +0000	[thread overview]
Message-ID: <42FCE0AA.5020205@gmail.com> (raw)
In-Reply-To: <20050812153345.GA7635@daniel>

danielhf@21cn.com wrote:
> i've found that i could not access the mounted 
> directory with non-root users. 
> 1. i "chown" directories under "/mnt" to the user,
>    but so long as i mount, the permission of the 
>    specific dir will be changed to "drwx------" and
>    owner changed to root automatically.
> 2. i try to use a mount option "users",
>    $> mount /dev/hda6 /mnt/win -o rw,users
>    no luck somehow as well.
> 3. i would not use "sudo" to do this, i believe there is 
>    a way to solve the problem. and not sure "sudo" will work.
> 
> any ideas about this? thanks a lot in advance
Which filesystem are you talking about? If you mean NTFS (or maybe 
others too), you'll have to add a umask to the mount-options.
> 
> best regards
> daniel

greetings
> 



-- 
Stefan Kögl          | Tel.: +43 664 44 24 894
Apetlonerstraße 11   | Mail: Stefan Kögl <koeglstefan@gmx.at>
A-7132 Frauenkirchen | ICQ:  115578877

-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-08-12 15:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-12 15:33 [gentoo-user] how to access mounted dir with non-root? danielhf
2005-08-12 16:07 ` Uwe Thiem
2005-08-12 19:18   ` Neil Bothwick
2005-08-12 19:45     ` Holly Bostick
2005-08-12 19:54       ` Ciaran McCreesh
2005-08-12 20:36       ` Neil Bothwick
2005-08-12 17:47 ` Stefan Kögl [this message]
2005-08-13 14:22   ` danielhf
2005-08-15  6:15 ` Dirk Heinrichs
  -- strict thread matches above, loose matches on Subject: below --
2005-08-13 22:59 Michael Swanson
2005-08-13 20:54 ` Neil Bothwick
2005-08-14  3:10   ` danielhf

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=42FCE0AA.5020205@gmail.com \
    --to=koeglstefan@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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