View Single Post

   
  #3 (permalink)  
Old 01-05-2008, 04:10 AM
Kurt Bremser
 
Posts: n/a
Default Re: Quick File System Questions

Chris <cnaugle76@hotmail.com> wrote in message news:<UN2dnX9UgJp7MqvcRVn-qA@comcast.com>...
> Hi,
>
> I have a few quick file system question. Does setting the owner, group,
> and permissions on a file system simply require mounting the file system
> somewhere and then setting the user, group, and permissions on the
> mount point? If so, what if the file system is subsequently mounted on
> a different mount point? Will the previous owner, group, and
> permissions be preserved?
>
> Chris


Once a file system is mounted, setting group, owner and permissions is
applied on the root directory of that file system. This root directory
is actually the first file in that system, and its inode resides also
in the fs's inode table.
Once you unmount the file system, the mount point retains ist original
ownership and permissions, while the file system takes its permissions
with it to any other mount point.
Reply With Quote