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
130 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
634 views

Used recursive chown on the root directory

Im gonna 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
1k 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
237 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
80 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
21 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
34 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
56 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
958 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
784 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
19 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
13 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
51 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.