Web Root permissions

Discussion in 'Installation/Configuration' started by DualFusion, Jul 18, 2008.

  1. DualFusion

    DualFusion New Member


    I have a NFS server and just install and configured Samba to work with my Windows-based laptop. I made it possible to read/write on my web root (/var/www) except that I can't write. This is what I put at the bottom of my /etc/samba/smb.conf:

    comment = Web Root
    path = /var/www
    public = yes
    read only = no
    create mask = 0777
    directory mask = 0777
    I am assuming it is because of the permissions on the web root itself and not the permissions Samba is giving it. Is there anything I can do?

  2. DualFusion

    DualFusion New Member

    I solved this already playing around with the system and did it by adding a new group, running the chown command with root:<new group> and chmodded it to 777.

    Though I would like to know one thing: When I created this NFS and mounted the drives, I found myself having a lost+found directory in /var/www. Is this folder necessary or can it be removed?

  3. falko

    falko Super Moderator ISPConfig Developer

Share This Page