From edd3d53908cf662b7656c059d24cbcb733e04224 Mon Sep 17 00:00:00 2001 From: "jm9632@student.uni-lj.si" Date: Thu, 24 Sep 2015 19:14:58 +0000 Subject: NFS added commands chown, exportfs, edited /etc/exports git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@332 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414 --- kpov_judge/tasks/smb_nfs/howtos/en/index.html | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'kpov_judge/tasks/smb_nfs/howtos/en') diff --git a/kpov_judge/tasks/smb_nfs/howtos/en/index.html b/kpov_judge/tasks/smb_nfs/howtos/en/index.html index c4174f4..2a8a72e 100644 --- a/kpov_judge/tasks/smb_nfs/howtos/en/index.html +++ b/kpov_judge/tasks/smb_nfs/howtos/en/index.html @@ -158,11 +158,25 @@
  • Determine the rules in /etc/exports, e.g.:

    - /srv/nfs/ERLbbBrT 192.168.1.0/24(ro,sync,no_subtree_check)
    #privileges for SimpleArbiterDhcp
    - /srv/nfs/ERLbbBrT 192.168.1.180(rw,sync,no_subtree_check)
    + /srv/nfs/ERLbbBrT 192.168.1.180(rw,sync,insecure)
    + /srv/nfs/ERLbbBrT 192.168.1.0/24(ro,sync,insecure)

  • +
  • + Change the owner of the directory and files in it: + chown student /srv/nfs/ERLbbBrT + and similary for all the files in shared directory. The owner should not be root. +
  • +
  • + Run command + exportfs -rv + to export file systems +

    After that run + services nfs-kernel-server restart +

    +
  • +
    -- cgit v1.2.1