The chown command is used on Unix-like systems to change the owner of a file.

learn more… | top users | synonyms

0
votes
2answers
340 views

directory owner problem

I have a uploader using applet and jsp,so after it is uploaded the owner is tomcat so it is not accessible by php i mean apache. its throughs error.i changed chown in php and directly in shell access. ...
2
votes
2answers
925 views

Apache security for multi-user development web server

I've been searching and reading through documents all morning and understand that I need to use some combination of chown and probably 'jailing' to securely give programmers access to directories on ...
3
votes
2answers
755 views

www-data ownership makes the WordPress installation consume more memory

I have a WordPress installation. When the ownership of the folder is root, the memory consumed is okay. However, when I change the ownership to the www-data user, it starts consuming a lot of memory ...
2
votes
3answers
810 views

Chown root mistake

I accidentally executed the chown userx:userx / command. Is there a way to fix this in a gentle way? I know the mysql folder has to be owned by mysql:mysql. But what about the other folders? Are ...
1
vote
3answers
583 views

Joe's sad PHP permission problem (LAMP) [closed]

As many PHP servers as are out there you would think that there would more guides on this topic. Joe begins as the happy owner of a new ubuntu PC. Joe likes Ubuntu in his coffee. Joe wants to build ...
1
vote
1answer
2k views

CentOS 5.4 NFS v4 client file permissions differ from original files & NFS Share file contents

Having a strange problem with NFS share and file permissions on the 1 out of the 2 NFS clients, web1 has file permissions issues but web2 is fine. web1 and web2 are load balanced web servers. So ...
4
votes
2answers
9k views

what chmod and owner:group settings are best for a web application?

we are configuring a PHP web application on CentOS and have all our files currently in /var/www/html/project/ Apache is configured to run as apache:apache and has access to the directory above. Right ...
23
votes
8answers
5k views

accidently ran “chown www-data:www-data / -R” as root

i just ran this a few seconds ago, i managed to do ctrl-c as soon as i realized what i started doing. so far in the only dir its started going through is /bin im afraid to do anything else, so far ...
1
vote
2answers
5k views

when should I use “apache:apache” or “nobody:nobody” on my web server files?

Background: I remember at my old place of employment how the web server admin would always make me change the httpd-accessible file upload directories so that they were owned by apache:apache or ...
2
votes
1answer
6k views

Can't modify or chown files on readynas nfs share

I have a readynas with nfs sharing. I have a bunch of files that I can't write to on the share. They're owned by nobody:nogroup and if I try to chown them I get chown: changing ownership of `...
1
vote
1answer
475 views

OpenSolaris user permissions and problems

I'm trying to achieve the following in OpenSolaris to setup permissions on the ZFS volumes (shared using CIFS). There are some users who should belong to the sysusers group, they have access to ...
13
votes
7answers
36k views

Chown operation not permitted for root

I try to chown the owner of a file to root, but I can't. I'm doing this as root. I get the following message: chown: changing ownership of `ps': Operation not permitted