Welcome to the Linux Foundation Forum!

Solution 13.1 doesn't work

Posts: 39
edited October 2017 in LFS211 Class Forum

Shared directory is created in /srv, which is owned by root, meaning that /srv/exports will also be owned by root upon creation. Considering that root_squash option is default, at least for Ubuntu 16.04, touch /mnt/foo will fail for both regular and super users. There are 2 solutions:

 - chmod o+w /srv/exports

 - no_root_squash option (not desirable)

Comments

  • Posts: 380
    edited October 2017

    Thank you for your input, this was noticed and has been fixed. The export directory had been moved to /home/export and the permissions are now set up for sharing through an additional group association.

    The changes to the lab create a new group with the gid set to 42000, this has to be the same on the client and server. Change the group ownership  of the /home/export/ directory so the group share is added via the SGID on the directory. Now any user in the share group will be able to write to the directory. 

    Thank you for highlighting this.  

     

     

  • Posts: 39
    edited October 2017

    When usually these updates propagate to the labs?

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training