Top "Chown" questions

chown is a command is used to change the owner and/or group membership of a file or set of files.

PHP mkdir and apache ownership

Is there a way to set php running under apache to create folders with the folder owned by the owner …

php apache mkdir owner chown
Changing ownership of ‘/usr/bin/’: Operation not permitted

I have just made a huge mistake by changing the owner of my /usr/bin from root to an ordinary …

ubuntu sudo chown
Used chown for /var/lib/mysql to change owner from root, now getting Error 1049 (42000) in mysql

With Ubuntu, I previously created a mysql database using the following code in the terminal: $ my sql -u root -p …

mysql permissions root ownership chown
Getting error chown: invalid group: ‘nobody:nogroup’ while setting up an NFS server drive ownership permission

I am following this tutorial to export an NFS share drive. https://www.digitalocean.com/community/tutorials/how-to-set-up-an-nfs-mount-on-ubuntu-16-04#step-2…

linux centos centos7 nfs chown
Installing Mongo and chown /data/db yields "illegal user name" error

I'm installing MongoDB for a Node / Express tutorial and upon creation of the /data/db folder and the following command: …

mongodb sudo chown
List too long to chmod recursively

I have tried the following command to chmod many images within a folder... chown -R apache:apache * But i get …

linux chown
How can i change permissions of a USB Stick(pendrive) in Ubuntu?

I am working on a security tool for Ubuntu in which I want to remove all permissions for a pendrive …

security ubuntu permissions chmod chown
Access GPIO (/sys/class/gpio) as non-root

The /sys/class/gpio can only be access as root by default. So I like that a new group gpio …

bash raspberry-pi chmod chown raspberry-pi2
Why do my setuid root bash shell scripts not work?

I created this simple script to allow the user to remove files created by the web server in his home …

bash permissions chmod chown setuid
How to change permission of vmware's shared folder

I'm using ubuntu 16.04 on vmware player. The shared folder is enabled and is visible on /mnt/fghs. But, the owner(…

permission-denied chown vmware-player