4 votes

chmod setuid giving operation not permission even though the I am the owner

As you've found out, the filesystem that your files are on has been deliberately mounted with the 'nosuid' option to disable usage of setuid/setgid, presumably as a security precaution. In addition to ...
u1686_grawity's user avatar
1 vote

rsync permission denied in www subfolder

Let's look at the permissions for the directory tree you've described: sudo ls -ld /var /var/www /var/www/example.com /var/www/example.com/Downloader drwxr-xr-x 13 root root 4096 Sep 11 ...
roaima's user avatar
  • 2,954
1 vote

PHP file_put_contents: Failed to open stream: Permission denied

No need that the permission problem is based on the filesystem permissions (but its possible). Apache has an internal permission system that you have to configure either in the Apache's (virtual-)host ...
dodrg's user avatar
  • 1,364
1 vote

Ansible Copy module & become - Permission denied

Building off of Vladimir's answer, there actually IS a simple workaround! The comment below (and the emphasis I added in bold) was the key. In the module copy, become: yes applies only to writing the ...
ivandov's user avatar
  • 433

Only top scored, non community-wiki answers of a minimum length are eligible