HP-UX HB v13.00 Ch-14 - JFS

HP-UX Handbook Rev 13.00 Page 12 (of 47)
Chapter 14 Journaled File System (JFS)
October 29, 2013
group::perm
group:gid:perm
class:perm
other:perm
default:user::perm
default:user:uid:perm
default:group::perm
default:group:gid:perm
default:class:perm
default:other:perm
2) setacl - modify access control lists (ACLs) for files (JFS File systems only)
Example:
To add one ACL entry to file “testfile”, giving user root read permission only, type:
# setacl -m user:root:r - - testfile
# getacl testfile
# file: testfile
# owner: root
# group: sys
user::rw-
user:root:r--
group::r--
class:r--
other:r
You have also the possibility to define the ACL List within a testfile.acl to convert the entries to
the testfile.
Quotas
VxFS supports quotas, which allocate per-user quotas and limit the use of two principal
resources: files and data blocks. You can assign quotas for each of these resources. Each quota
consists of two limits for each resource: hard limit and soft limit. The soft limit can be exceeded
for a given time limit. This time limit is per default 7 days and can be changed via edquota t.
When a user exceeds the soft limit a warning is displayed. The hard limit is an absolute limit,
which cannot be exceeded, so the soft limit should be lower than the hard limit.
To use quotas a file quotas must exist in the root directory of the file system. The quotas are set
by using edquota which opens an editor to set the soft and hard limits. The quotas can be turned
on either by the command quotaon or by the mount options (-o quota)
Creating the quotas file under the root directory of the file system