[clug] Setting permission bit with a mount option

Brett Worth brett.worth at gmail.com
Fri Mar 15 01:32:06 UTC 2019


Does anyone know if it is possible to set the mode bits of a filesystem's root at mount time?

i.e. I'd like to have something in the fstab options column of an ext3 entry like
"defaults,mode=1777" so that when the filesystem is mounted you end up with "drwxrwxrwt".

I know that "mode=" and "permissions=" are not right.  Does anyone know if this is possible?

I could change it later in the boot process but having it in fstab seems more correct.

Brett

-- 
  /) _ _ _/_/ / / /  _ _//
 /_)/</= / / (_(_/()/< ///





More information about the linux mailing list