Re: How to mount ext3 so the files belong to a specific user?
- From: Kent West <westk@xxxxxxx>
- Date: Wed, 14 Nov 2007 14:22:23 -0600
Martin Marcher wrote:
2007/11/14, Kent West <westk@xxxxxxx>:
I have a partition that I'm mounting in a specific user's home
directory, and want that user to be able to read/write to that partition.
However, I've been unable to find (google, man, etc) any way to
accomplish this; the few hints I have found indicate it works fine with
a VFAT partition, or that you can manually chown the perms after the
mount, but it seems crazy to me that you'd not be able to set ownership
at mount time.
AFAIK, you can't do that with ext2/3/xfs/reiser/... because they store
the permissions inside the file system. that means if you mount the
filesystem all files belong to specific uid/gid that may or may not
match to your system (e.g I'm pretty sure if I chown -R 65434:65434
/mnt/harddisk and give that to you you will just see the number and
not any user name)
Tying this in with Jochen's answer...
So, it's not the permissions of the mount point that matter; it's the permission of the root of the partition on that mount point.
Okay, now that makes sense. (Forget my extreme rambling about this situation being nuts.)
But wow. Not intuitive.
Thanks! That gets me back on the road to progress!
--
Kent
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- How to mount ext3 so the files belong to a specific user?
- From: Kent West
- Re: How to mount ext3 so the files belong to a specific user?
- From: Martin Marcher
- How to mount ext3 so the files belong to a specific user?
- Prev by Date: Re: Locale Problem
- Next by Date: Re: How to mount ext3 so the files belong to a specific user?
- Previous by thread: Re: How to mount ext3 so the files belong to a specific user?
- Next by thread: Determining how a binary package was configured
- Index(es):
Relevant Pages
|
|