Re: Permissions change on mount point directory

From: Martin W. Johnson (fclmwj@NERSP.NERDC.UFL.EDU)
Date: Thu Jun 27 2002 - 12:39:48 EDT


I found you have to use chmod -s to remove SETGID. From the chmod man
page:
  4. You must specify the mode symbolically when removing the
     set-group-ID-on-execution permission from directories.

HTH
        Marty

On Thu, 27 Jun 2002 08:23:23 -0500 "Naylor, Jim"
<Jnaylor@SCHNUCKS.COM> wrote:

> Thanks for the reply Simon but I did try to set the permissions after I
> mounted the filesystem by doing chmod 755 /u/rms but when I do and ls -ld on
> the directory after doing the chmod it still shows the following:
>
> drwxr-sr-x 16 dsd users 2560 Jun 27 07:15 /u/rms
>
> I can't seem to get rid of the 2755 permissions. I want it to be
>
> drwxr-xr-x 16 dsd users 2560 Jun 27 07:15 /u/rms
>
> Jim Naylor
> Unix Systems Administrator
> Schnuck Markets, Inc.
> 314-994-4784
> jnaylor@schnucks.com
>
>
> -----Original Message-----
> From: Green, Simon [mailto:SGreen@KRAFTEUROPE.COM]
> Sent: Thursday, June 27, 2002 4:05 AM
> To: aix-l@Princeton.EDU
> Subject: Re: Permissions change on mount point directory
>
>
> When you overmount something, it's gone! Anything you do with the mount
> point will have no effect on the filesystem you mount on top of it.
>
> You need to mount the filesystem before you set permissions and ownership.
>
> Simon Green
> Philip Morris ITSC Europe
>
> AIX-L Archive at http://marc.theaimsgroup.com/?l=aix-l&r=1&w=2
> AIX FAQ at http://www.faqs.org/faqs/aix-faq/
>
> N.B. Unsolicited email from vendors will seldom be appreciated.
>
> > -----Original Message-----
> > From: Naylor, Jim [mailto:Jnaylor@SCHNUCKS.COM]
> > Sent: 26 June 2002 21:19
> > To: aix-l@Princeton.EDU
> > Subject: Permissions change on mount point directory
> >
> >
> > I have several 43P 150 RS/6000's running 4.3.3 (4/2002). If
> > I create a
> > directory (i.e. /home/rms) which is the home directory for a user, it
> > creates the directory with the permissions 755. I then
> > create a standard
> > filesystem and mount it on this directory and the permissions of the
> > directory change to 2755 on the directory /home/rms. Why is
> > this doing this
> > and how can I stop it form doing this. Your help is greatly
> > appreciated.

------------------------
Martin W. Johnson
Coordinator, Computer Applications
Florida Center for Library Automation
2002 N.W. 13 Street, Suite 320
Gainesville, FL 32609
(352) 392-9020 Fax: (352) 392-9185
fclmwj@nersp.nerdc.ufl.edu



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:01 EDT