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
196 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
55 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
659 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
13 views

SSHFS mount marked all files as hidden

I ran chown -R me:me /opt/web/ftp-mounts/ which affected files on sshfs ftp mounts. The remote server hosts IIS based websites. I might have messed up the file permissions on the remote host. Now ...
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
316 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 ...
1
vote
1answer
29 views

Why can't I use my newly created user with chown?

So I am attempting to create a new user and group, and then change ownership of a directory to that new user/group. However, when I do, chown comes back with an "illegal user name" message. Here's a ...
0
votes
1answer
23 views

chown -R does not set permissions of files. only directories

Hello i am setting up a server nginx gives 403 Permission dinied. I found out that somehow the command chown -R root:www-data /my_directory only set the permissions of directories. When i use ls ...
0
votes
1answer
24 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
153 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
29 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
54 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
64 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
876 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
42 views

Reset all the permissions to default permissions linux mint 17

I have somehow messed up with the permissions of different folders on my linuxmint 17. Now I am unable to use sudo apt-get install or sudo apt-get update commands. It gives error are you root? even ...
0
votes
0answers
26 views

Pull and chown from git

I've made a little script that fetches data from my bitbucket.org repository. Now when content gets created or changed the owner changes to name:name. What I want is all files to be chown to ...
0
votes
0answers
341 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
80 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
33 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.