Re: Permissions change on mount point directory

From: Bill Thompson (bill.thompson@GOODYEAR.COM)
Date: Thu Jun 27 2002 - 10:13:06 EDT


Jim,

The /u/rms directory is inheriting the SGID bit from the parent (/u)
directory. I can't remember why AIX does this, but it does.

To get rid of the SGID bit on your rms directory simply issue the chmod
command like this:

chmod -s /u/rms

If you want to make sure new directories under the /u directory don't get
the SGID bit set, use the above chmod syntax on /u

Bill Thompson
Sr UNIX Systems Administrator
The Goodyear Tire & Rubber Co.

Contains Confidential and/or Proprietary Information
May Not Be Copied or Disseminated Without Express Consent of The Goodyear
Tire & Rubber Company.

AIX-L Archives: http://marc.theaimsgroup.com/?l=aix-;&r=1&w=2

----- Original Message -----
From: "Naylor, Jim" <Jnaylor@SCHNUCKS.COM>
Newsgroups: bit.listserv.aix-l
To: <aix-l@Princeton.EDU>
Sent: Thursday, June 27, 2002 9:23 AM
Subject: Re: Permissions change on mount point directory

> 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.



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