Defining access permissions
The root user usually has access to the hypfs file system. It is possible to explicitly define access permissions.
About this task
If no mount options are specified, the files and directories
of the file system get the uid and gid of the user who mounted the
file system (usually root). You can explicitly define
uid and gid by using the mount options uid=<number> and gid=<number>.
Example
# mount none -t s390_hypfs -o "uid=1000,gid=2000" <mount point>
Alternatively,
you can add the following line to the /etc/fstab file:
none <mount point> s390_hypfs uid=1000,gid=2000 0 0
The first mount defines uid and gid. Subsequent mounts automatically have the same uid and gid setting as the first one.
The permissions for directories and files are as follows:
- Update file: 0220
(--w--w----) - Regular files: 0440
(-r--r-----) - Directories: 0550
(dr-xr-x---)