Re: Adding a Hard Drive
- From: markhobley@xxxxxxxxxxxxxxxxxxxxxxxx (Mark Hobley)
- Date: Tue, 29 Nov 2005 22:08:03 GMT
Robert Newson <ReapNewsB@xxxxxxxxxxxxxxxxxxx> wrote:
> When a partition is mounted onto a directory, the original directory with
> its permissions, ownership, etc is hidden and the root directory of the
> partition is then put in its place with its own permissions, ownership, etc
> - which is what you then see with ls, etc.
Ok.
> The 'user' option allows any user to mount the partition, but only the user
> who mounted it can umount it; the 'users' option is similar in that it
> allows any user to mount the partition, but it also allows ANY user OTHER
> than the one who mounted the partition to umount it.
You have to be in the group "disk" to mount and unmount the device, assuming
the /dev/hdb and associated files are all owned by "disk".
> # chmod 01777 /home/art/mnt
I presumed that mounting in /home/art/mnt, you wanted the contents of the root
directory to belong to "art".
If you want it to belong to root, then mount in /mnt/hdb or somewhere, and
create a directory /mnt/hdb/art with appropriate ownership and symlink in
/home/art.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/
.
- References:
- Adding a Hard Drive
- From: Arthur Buse
- Re: Adding a Hard Drive
- From: Mark Hobley
- Re: Adding a Hard Drive
- From: graham
- Re: Adding a Hard Drive
- From: Arthur Buse
- Re: Adding a Hard Drive
- From: Robert Newson
- Adding a Hard Drive
- Prev by Date: Re: Problems with 2 Web sites, using Konqueror
- Next by Date: Re: Debian on a Dell PowerEdge SC430
- Previous by thread: Re: Adding a Hard Drive
- Next by thread: Re: Adding a Hard Drive
- Index(es):
Relevant Pages
|