zowe / zen

Eclipse Public License 2.0
1 stars 6 forks source link

Check the mounted FS for SETUID option #245

Open Martin-Zeithaml opened 3 months ago

Martin-Zeithaml commented 3 months ago

When mounting a filesystem, SETUID is the default option and it is required by Zowe to set extended attribute for ZSS Server. It should not happen very often, that the mounted filesystem will be NOSETUID, but we should check this before/during the installation.

Options

df - example of NOSETUID setting

df -v "{zowe.runtimeDirectory}/components/zss/bin"

Mounted on     Filesystem                Avail/Total    Files      Status
/mount/point   (ZOWE.TEST)             3703006/5588640 4294953614 Available
ZFS, Read/Write, Device:T800, ACLS=Y, No SUID
aggrgrow
File System Owner : ZEUS        Automove=Y      Client=N
Filetag : T=off   codeset=0
Aggregate Name : ZOWE.TEST

extattr - example missing attribute p

/zowe/components/zss/bin: extattr ./zssServer
./zssServer
APF authorized = NO
Program controlled = NO
Shared address space = YES
Shared library = NO

Others?