Re: Mount Point Ownership & Group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Sun, 16 Jan 2011 14:20:40 +0530 CentOS mailing list <centos@xxxxxxxxxx> wrote:

> 
> I am facing problems assigning the owner and group to an ext3
> filesystem being mounted from an external storage. I created a mount
> point /vol and changed its owner and group  to alpha and beta
> respectively (as required). The ext3 filesystem (LV from the external
> storage) was then mounted on /vol using the mount command. However,
> after mounting the filesystem the owner and group of /vol changed back
> to root.
> 
> How do I ensure that the owner and group for this (and other) external
> filesystem to be mounted dynamically are preserved as required ? The
> mount options uid and gid don't seem to work for ext3 filesystems. Are
> there any other options for this purpose?

The ownership of the mount point is irelevant and has no effect on the
ownership of the mounted file system.

You need to change the ownership of the *file system* root directory
itself. 

Mount the ext3 filesystem and *then* change the owner and group.  Of
course, whatever you set it to will be whatever it is on any other Linux
system the volumn is mounted on.

> 
> Thanks,
> 
> Manish
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                            

-- 
Robert Heller             -- 978-544-6933 / heller@xxxxxxxxxxxx
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                  
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux