New answers tagged

4

Nginx is respecting file permissions. Nginx is running as www-data and Linux is enforcing the file permissions. The issue here is two goals that conflict. Expectations need to be changed. First, you want the files to "inaccessible to the world" via the web browser. This implies that they can't be readable and accessible by the www-data user. Second, you ...


3

PHP files are processed by a PHP interpreter, which is typically a web server module, but may also be a standalone executable. This doesn't require execute permissions, as it only needs to read the script to interpret it.


0

I know this is an old question and you probably have a work-around by now but for the benefit of any "searchers" that come across this... There is a third level of access control on Windows servers going back many versions that is controlled by policy. Start the Local Security Policy manager by running secpol.msc and check "Local Policy\User Rights ...


0

You could use the "setgid" bit of the parent folder ("uploads", in this case) and any file created within it will have the specified group membership regardless of the creator. The command is below. Here is a good post I found on "setgid": http://www.toptip.ca/2010/03/linux-setgid-on-directory.html Setgid with chmod: sudo chmod g+s /var/www/public/uploads/ ...


0

Are you able to telnet to that server's 3389? - Ensure the domain admin is part of the Remote Desktop Users security group - Check the system Properties > Remote tab, ensure the Remote Desktop is enabled for this computer - Domain Admin should show here


2

Two things work to allow or deny a user the ability to logon via Terminal Services; user rights and permissions. Make sure the user in question has both.


1

Use: create mask = 0777 directory mask = 0777 instead. Don't forget to reload the configuration.


1

Had the same problem, but found a fix! Go to /etc/opendkim.conf and change this line: Umask 022 To: UMask 022 And restart opendkim service opendkim restart


0

It is in the util-linux package, so if you want it, install that package.


0

I found a solution . The error occurs because the mount process is wrong . Just set the uid in the mount command. Like: mount -t smbfs //ip/folder_a /mnt/foider_b -o uid=1005


0

This could be caused by User Account Control, a feature (hated by many) which makes so that, even if you have administrative rights, you don't actually have them unless you explicitly request them. There are two distinct policies governing UAC behaviour (both found in Computer settings\Windows settings\Security settings\Local policies\Security options), one ...


0

I have fixed it by following this article http://doc.gitlab.com/ce/raketasks/maintenance.html#rebuild-authorized_keys-file I'm not sure if this is a pre-requisite, but I created the directory and file: /home/git/.ssh/ and /home/git/.ssh/authorized_keys Then I used the permissions settings on this answer. chmod 0711 /home/git and chmod 0700 /home/git/.ssh ...


0

Ensure that the htaccess file is readable by apache: chmod 644 /var/www/abc/.htaccess And also check whether the directory in it's readable and executable format: chmod 755 /var/www/abc/


1

According to the Apache wiki this error means you got permission problems with your website root To diagnose them open a second terminal and issue the following command as root: su -l apache -s /bin/bash It will log you as apache user and will allow to find which directory/file is inaccessible by navigating to your website root with cd /[website root]/ ...


0

"Full Control" allows you to do anything imaginable to the folder or its files, like delete them or fiddle with the ACLs. You don't need Full Control to navigate a folder or even to write to it. "List folder / read data" allows you to look around in the folder or read the contents of a file. (Which one it is depends on whether the object in question is a ...



Top 50 recent answers are included