The chown command shell of a Unix-like operating system (such as GNU / Linux) is used to change the owner of a particular file.

learn more… | top users | synonyms

2
votes
2answers
174 views

Understanding file ownership Linux

I have a Java program on my Linux box and I wanted to create a little one-liner shell script in /bin to prevent having to navigate to the folder of the program and setting all the command line ...
0
votes
2answers
51 views

None of my directories are writable

Argh help lol I have ran a chown command (silly me) which I did not fully understand now when I connect via filezilla and try do anything write/delete files/directories I get Error: mkdir ...
0
votes
2answers
645 views

Used recursive chown on the root directory

I'm going to need some help restoring my ssh settings as I screwed everything up by calling this command: chown -R user / At the moment im not able to access the site through ssh/ftp since the ...
2
votes
1answer
2k views

Rsync: after copying as root, change owner to the web user

I seem to come up against this issue occasionally: serverA assets: owned by user: apache (no 'ftp' user present) serverB assets: owned by user: ftp (apache user present, but not used) I connect ...
2
votes
1answer
272 views

Unable to create files in a directory

I have created a directory in Virutalbox. Using VBoxManage, I am executing a script inside the Ubuntu VM directory I created above from Ubuntu host OS. But if the script in the VM contains commands ...
0
votes
1answer
15 views

wubi chown mysql to the /host folder not working

I installed wubi in D: driver. Since I want to store mysql database folder in D: driver which has a lot more space than inside wubi. I copy /var/lib/mysql to /host/mysql then change the database dir ...
0
votes
1answer
130 views

Unable to retain any root created files and folders after warm reboot in linux

I installed and ran petalinux on zynq board. It runs perfectly fine and boot in around 3 seconds. To boot it this fast I had to do some configuration before compiling the source. The problem that I ...
0
votes
1answer
25 views

Ubuntu file ownership issue

I've got a problem with my forum platform being unable to install modifications, as it complains the "Packages" directory isn't writeable. It's chmodded to 0777, so it's not a permission issue, but an ...
0
votes
1answer
40 views

chown for files generated by a process running as root

I have a Fedora server running an application as root (via sudo). The users operating the application can extract data with "Save as" menu from inside the application. However, the generated files has ...
0
votes
1answer
60 views

Give Apache and Account User File Writing Priviliges

I am using OS X Mountain Lion for web development. I am running the built-in Apache server. Now I need to allow the PHP script I am running to write in a directory. But if I chown the directory to ...
-1
votes
1answer
2k views

Take control of all disks/filesystems automatically in linux (Kali)

I have two mac disks plugged into my Linux Kali and for the life of me I cannot get ownership of them. (LaCie) I don't have this problem in Windows or Mac, I just copy the files. Drag and drop. But ...
2
votes
0answers
825 views

Ubuntu 10.04 with vsftpd: Can't chown /var/www?

For the life of me, I can't seem to chown my /var/www folder on my server. i want to: chown -R ftpuser /var/www And it returns Invalid Argument on every file change attempt. I've tried sudo with ...
0
votes
0answers
260 views

chown - operation not permitted as root

I'm using ISPConfig + Apache2 on a Debian server. I created a user which is going to be used for a certain client folder in /var/www/clients. Whenever I run the command chown -R user123 client2 as ...
0
votes
0answers
47 views

OS X MySQL '/tmp/mysql.sock' error after sudo chown -R myname usr

On OS X 10.6, when installing NGINX I inadvertently (hastily, stupidly) ran sudo chown -R myname usr, and think I repaired it with Applejack (app, run from command line). However, Running the ...
0
votes
0answers
59 views

vsftpd and persistent errors

I'm configuring a ftp user using this : useradd mz -d /home/ftp/mz -s /bin/false then check password: passwd mz and setting permissions chmod -R 777 /home/ftp/mz and changing owner chown ...
0
votes
0answers
25 views

Changing privilege rights on Arch Linux for a particular program

I am quite new to linux and have had issues surrounding every program that I install. Basically, anything that is placed outside of my home directory requires a sudo call prior to opening/executing. I ...
0
votes
0answers
54 views

Chown permission not allowed while restoring from LTO drive

i have to restore some file to my network system from LTO Tape, i use bru command to restore the file. but it is giving an error message chown permission not permited.