[ale] setting perms on mounted fs

Wandered Inn esoteric at denali.atlnet.com
Wed Jan 6 09:31:46 EST 1999


I didn't explain this right.  Here's the deal.  I mounted my 'future'
/tmp filesystem on /tmpmnt (/dev/hdb5).  I moved everything from /tmp to
/tmpmnt.  The perms on /tmp are drwxrwxrwxt.  I change the perms on
/tmpmnt to drwxrwxrwxt.  I added the following to /etc/fstab:

/dev/hdb5     /tmp            ext2    defaults        0 0

When I rebooted, /tmp is mounted on /dev/hdb5 with the perms of
drwxr-xr-w, I need them to retain the drwxrwxrwxt perms.

I'm looking for the optin I can add to the 4th field of my /etc/fstab
file to set the perms when /tmp is mounted.

Sorry for the confusion...


jeff_hubbs at mcgraw-hill.com wrote:
> 
> According to man cp, the -a or -p flags will do what you want, I believe.
> -a (archive) is equivalent to -dpR and therefore works recursively, so you
> might want to try that.
> 
> - Jeff
> 
> Wandered Inn <esoteric at denali.atlnet.com> on 01/06/99 08:33:23 AM
> 
> To:   ale <ale at ale.org>
> cc:    (bcc: Jeff Hubbs/Tower)
> 
> Subject:  [ale] setting perms on mounted fs
> 
> I'm trying to move my /tmp to it's own filesystem and for obvious
> reasons need to retain the permissions.  When I put in /etc/fstab, the
> perms get changed to 755.  I've not been able to find the proper option
> to add to /etc/fstab to set the perms.  Anyone care to share??
> 
> --
> Until later: Geoffrey         esoteric at denali.atlnet.com
> 
> You mean you paid MONEY for Service Pack '98????

--
Until later: Geoffrey		esoteric at denali.atlnet.com

You mean you paid MONEY for Service Pack '98????






More information about the Ale mailing list