View Single Post

   
  #4 (permalink)  
Old 01-05-2008, 04:10 AM
Scott Doyland
 
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


I reckon you could have tested this quicker than posting the message
;-)
The answer is yes, the FS will keep its previous owner etc if you
change the mount point.

Note that the underlying perms of the directory that you mount over
can actually affect the FS. I dont *think* its supposed to work this
way, but I have seen, on AIX 5.2, a FS mounted and given perms of 777
and even then a non-root user couldnt do various things in the FS
(cant remember details). We had to umount and change the perms on the
underlying directory and remount.

I suspect this isnt correct behaviour - its something to watch out
for.

Scott
Reply With Quote