Apple Xserve Up Mac OS X Server Specifications Page 140

  • Download
  • Add to my manuals
  • Print
  • Page
    / 329
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 139
140 Chapter 9 Working with File Services
Modifying a Share Point
To change share point settings:
$ sudo sharing -e
sharepointname
[-n
customname
] [-A
afpname
] [-F
ftpname
]
[-S
smbname
] [-s
shareflags
] [-g
guestflags
] [-i
inheritflags
]
[-c
creationmask
] [-d
directorymask
] [-o
oplockflag
]
[-t
strictlockingflag
]
Disabling a Share Point
To disable a share point:
$ sudo sharing -r
sharepointname
Setting Disk Quotas
You can use the edquota command to set disk quotas for users and groups.
For more information about this command, see its man page.
To set disk quotas for users on a share point:
$ sudo edquota -u -p
proto-username
username
To set disk quotas for groups on a share point:
$ sudo edquota -u -p
proto-groupname
groupname
To set the grace period for enforcing disk quotas for users:
$ sudo edquota -t -u
You specify the default grace period in /usr/include/sys/quota.h. For a user, you specify
the grace period in the file .quota.ops.user located at the root of the user’s mounted
file system.
Parameter Description
sharepointname The current name of the share point.
Other parameters See the parameter descriptions in “Creating a Share Point” on
page 138.
Parameter Description
sharepointname The current name of the share point.
Parameter Description
proto-username
The user whose disk quota will be duplicated to other users.
username
The user whose disk quota should be set to the same quota as
proto-username
.
Parameter Description
proto-groupname
The group whose disk quota will be applied to other groups.
groupname
The group whose disk quota should be set to the same quota as
proto-groupname
.
Page view 139
1 2 ... 135 136 137 138 139 140 141 142 143 144 145 ... 328 329

Comments to this Manuals

No comments