Fresh LAMP server setup with Ubuntu 12.04 and VSFTPD.
I'm trying to access the /var/www folder (web root) with FTP user.
I created a new user ftpuser and added it to the www-data user group created automatically by Apache.
Home directory of that user is set to /var/www.
I also changed the ownership of the /var/www to www-data group and changed permissions to 02775.
However, I'm still not able t
How can I control which permissions will be set for the base directory when I clone with git?
I can't for the life of me figure out how to design my permissions scheme for my apache files.
I have two Fedora computers. One is running 11 and one is newly upgraded to 12. I have a simple fstab line to mount a file with type cifs and no other options except for username and password. When mounted on the Fedora 11 computer the directories have permission drwxrwxrwx and the files have permissions -rwxrwxSrwx. In Fedora 12 the perrmissions are drwxr-xr-x and files are -rwxr-xr-x.
I'm on debian and I have my website in the directory /srv/www/mysite.com/public_html
I set chown for www-data:www-data on /srv/www.
I have root disabled and created a sudo user which is id 1000:1000. I would also like to use this user to upload to /srv/www so I added my sudo user to the www-data group.
I think I have screwed up my permissions in Ubuntu.
I am using my server to run PHP. I recently ran across a problem where PHP could not create directories in the var/www-directory, so I searched around on the internet.
Hello everyone,
I have tried copying a directory having a sticky bit set to another directory. The source directory was copied with the sticky bit but the contents (i.e: other files and directories) within the directory which another user had created changed ownership to show as i had created it.This is disturbing.
I'm quite new to Ubuntu and Linux in general.
I need to create a my www directory (in /home) and set the permissions/ownership correctly so that any new files and directories created by myself (via terminal etc, username is matt) OR the web server (Nginx in this case) are owned by matt:www-data.
Recently I installed Ubuntu Server 12.04.1 LTS on WMVare Workstation, that runs on Windows. First of all I installed LAMP, but then the problem was encountered.
I've did everything as I usually did on Ubuntu Server 10.10.
I created a virtual host for my project
setup directory with simple mkdir command without sudo.