Linked Questions

1
vote
1answer
15k views

Allow Permissions for Multiple FTP Users to Edit Public HTML Folder - Linux

On a dedicated server hosting one website, running Linux with no control panel, I'm trying to grant permission for multiple users to edit the public HTML folder (/var/www/html/). I want to make sure ...
1
vote
2answers
7k views

nginx and owncloud, .htaccess security warning

I have a problem with nginx and owncloud. When i access the owncloud's login page i get this error: Your data directory and your files are probably accessible from the internet. The .htaccess ...
4
votes
1answer
12k views

Apache CentOS 7 403 Forbidden Anyone?

I am trying to setup a situation where I can FTP to my Linux CentOS 7 server and update the web site files from my Windows 7 system. At this point I can FTP to my user's folder using vsftp (/home/...
1
vote
3answers
9k views

Laravel on nginx+php-fpm returns blank page

I'm having this issue with Laravel which is served by nginx + php-fpm, it's just returning a blank page. Neither nginx nor php nor laravel are logging any errors at all. When running the index.php ...
5
votes
1answer
4k views

Still confused by Permissions - linux, nginx, php-fpm

I have read the canonical answer at What permissions should my website files/folders have on a Linux webserver? However I'm still stuck. My setup is: A developer user 'ade' who owns the directories ...
-1
votes
1answer
1k views

Give root privileges to an user just for a specific directory [closed]

I have have a web server running on my machine and I would like to give the 2 users, misterX and misterY, root privileges for the directory /var/www so that they can also edit the files that are being ...
2
votes
2answers
1k views

Permission, apache user and www folder in Linux

The httpd process runs with apache user/group credential, while /var/www/html folder is owned by root user/group. What's the best practice to manage permissions on public html folder? Leave them as ...
-1
votes
3answers
2k views

Apache doesn't start after virtualhost setup (CentOS7)

I setup virtualhost file in /etc/httpd/conf.d/vhost.com.conf like the example and check my file and addresses many times <VirtualHost *:80> ServerName www.vhost.com ServerAlias vhost.com ...
-1
votes
1answer
3k views

How can I make my public directory writable by nginx and user? [closed]

I have my WordPress site newly hosted on a small Linux box with Nginx. Nginx runs as the user www-data just like apache, so I have the entire public_html directory owned by www-data so that WordPress ...
1
vote
1answer
2k views

Add my User to www-data group on fedora? [duplicate]

So I am setting up a localhost for web development on my Fedora 20 desktop. I have installed httpd and so forth... The issue I have is adding my user to the /var/www and to /var/www/html. I looked ...
1
vote
2answers
2k views

debian - permissions for multiple users in apache

I am trying to setup permissions for a directory in my apache2. I am going to show a scenario so its easier to explain and understand: This is my directory listing with permissions -> root:root ...
0
votes
3answers
1k views

Apache www permissions for php script

I have a php script which run a private social network. It's running on a Ubuntu 16.04.03 with an mariadb and apache 2 and php7 config. I have created a new folder in /var/www/myscript and copied ...
0
votes
1answer
2k views

SFTP via port 22 or vsftp over port 20 / 21 - Best way to secure FTP access to a server

I've read many articles and questions on SF about this, and still can't figure out if the way I'm doing it is (a) possible, and (b) secure. The server is running on AWS EC2, and all access is via SSH ...
0
votes
1answer
1k views

File Permission on /var/www/html [closed]

I changed the file permission. Now I am not able to access the website. nginx + php-fpm previously, chown -R user1:user1 /var/www/site.com I read in internet, and then i changed the file ...
0
votes
2answers
338 views

webserver upload directory 777, security

i have a upload function on my cms using POST (php). everything works fine but the directory needs a 777 setting otherwise i get errors. i would like to bring this down to like a 644. how could i do ...

15 30 50 per page