Merge pull request #1947 from dlandon/add_nfs_share_rules_help

Add Share NFS security Rules help.
This commit is contained in:
tom mortensen
2024-12-13 12:39:31 -08:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -744,6 +744,15 @@ Select the desired share name and press **Read** to copy the NFS security settin
Select the desired destinations and press **Write** to copy the NFS security settings to the selected shares.
:end
:nfs_security_rules_help:
Put the rule for each IP address on a separate line and terminate the Rule with a new line.
You cannot enter a Rule in the format IP1,IP2(...). Unraid does not format the exports file in that format.
The default rules for every NFS Rule are - async and no_subtree_check.
**Note:** The Public Rule used is '*(rw,sec=sys,insecure,anongid=100,anonuid=99,no_root_squash)'.
:end
:user_add_username_help:
Usernames may be up to 40 characters long and must start with a **lower case letter** or an underscore,
followed by **lower case letters**, digits, underscores, or dashes. They can end with a dollar sign.
+2
View File
@@ -82,6 +82,8 @@ _(Security)_:
_(Rule)_:
: <textarea name="shareHostListNFS" cols="40" rows="5" style="width:45%" placeholder="Example: *(rw,sec=sys,insecure,anongid=100,anonuid=99,no_root_squash,lock)"><?= htmlspecialchars($sec_nfs[$name]['hostList']) ?></textarea>
:nfs_security_rules_help:
&nbsp;
: <input type="submit" name="changeShareAccessNFS" value="_(Apply)_" disabled><input type="button" value="_(Done)_" onclick="done()">
</form>