From: Uwe Thiem <uwix@iway.na>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to access mounted dir with non-root?
Date: Fri, 12 Aug 2005 17:07:32 +0100 [thread overview]
Message-ID: <200508121707.32357.uwix@iway.na> (raw)
In-Reply-To: <20050812153345.GA7635@daniel>
On 12 August 2005 16:33, 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.
What filesystem is on hda6? Does it know anything about ownership and
permissions?
If not (like FAT) you need something like "mount -o
uid=youruser,gid=users,umask=0777"
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-12 16:22 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 [this message]
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
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=200508121707.32357.uwix@iway.na \
--to=uwix@iway.na \
--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