Re: NFS and apache...



Agus wrote:
Hi all,
I got the following scenario. Freebsd with Apache22 and NFS. I want to
export the /usr/local/www/apache22/data/site so that the content of that
site can be modified from my personal machine.
The permissions on site/ are rwx for root and group webadm, and rx for
others...


How can i do this? I am trying but im getting permission denied...while
trying to create a file...

NFS is insecure (No File Security) since there is no authentication. You get access with the user id of your current user.

When working with NFS make sure that you have the same users/groups with the same user id/group id on all machines.

One security measure is implemented though: root user on client is treated as nobody on the server. There is an option you can add to the exports file (forgot which), to override this see the exports manpage.

Also if you have a different solution for updating the site..they are
welcome..

Unless you have problems with diskspace, why not just use rsync? Do it manually and you get time to correct blunders before they become public, or do it as a cronjob.

Cheers, Erik

--
Ph: +34.666334818 web: http://www.locolomo.org

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Relevant Pages

  • NFS and apache...
    ... Freebsd with Apache22 and NFS. ... site can be modified from my personal machine. ... The permissions on site/ are rwx for root and group webadm, ...
    (freebsd-questions)
  • RE: Setting up NFS shares
    ... A client can be either a host or a client group. ... the appropriate permissions. ... Share Windows Folders by Using Server for NFS ... Click the NFS Sharing tab, and then click Share this folder. ...
    (microsoft.public.windows.file_system)
  • Re: Problem setting up NFS on Ubuntu
    ... I have installed Ubuntu ... > I used System - Administration - Synaptic Package Manager to include NFS ... Should I be using the GUI, and if so, how do I do that as root, ... and doesn't change the permissions displayed by ls -l ...
    (comp.os.linux.setup)
  • RE: Setting up NFS shares
    ... installed in my server. ... the appropriate permissions. ... Share Windows Folders by Using Server for NFS ... Click the NFS Sharing tab, and then click Share this folder. ...
    (microsoft.public.windows.file_system)
  • Re: Help me replace some Windows installations
    ... >> I thought SMB permissions were based on who mounted the share? ... > NFS is NFS, not SMB. ... >> against OS X's OpenDirectory if I just fill in the appropriate fields in ...
    (comp.os.linux.setup)