public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: danielhf@21cn.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to access mounted dir with non-root?
Date: Sat, 13 Aug 2005 22:22:45 +0800	[thread overview]
Message-ID: <20050813142245.GA6883@daniel> (raw)
In-Reply-To: <42FCE0AA.5020205@gmail.com>

On Fri, Aug 12, 2005 at 05:47:22PM +0000, Stefan K?gl wrote:
> 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
> 

actually, both ntfs (windows partition) and fat32 (usb disk) have 
the problem, i'll try the "umask" option, thanks to all for your
help.

--
daniel
--
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-13 14:28 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
2005-08-13 14:22   ` danielhf [this message]
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=20050813142245.GA6883@daniel \
    --to=danielhf@21cn.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