The chown command (abbreviation for change owner)

learn more… | top users | synonyms

0
votes
0answers
17 views

mysql user access

I'm trying to move my mysql default database directory. I've found out how to do this, but I need to be able to use mysql, when it's /var/mysql/ directory's owner and group are set to root, not to ...
0
votes
1answer
12 views

Restoring rights for /var

I accidentally ran "sudo chown www-data /var -R". Right after I ran "sudo chown root /var -R" to restore the rights. I can however no longer login now. I'm still getting the full disk encryption ...
3
votes
1answer
59 views

How to create directory and change it's owner with the deb package

I need to create deb package that will create directory for logs. I want to create directory /var/logs/my_package and to change it's owner to my_user. In the docs there is information that I can ...
0
votes
1answer
26 views

Chmod crash version 13.10

I was watching a command line reference tutorial and testing out two commands, CHMOD and CHOWN. I ended up changing my root folder's permissions. What should I do? Version 13.10.
1
vote
1answer
23 views

chowned /usr to myself, how to recover?

I accidently ran chown myname /usr -R and now the login screen won't show up! I have tried various things in the root terminal, but nothing works. What can I do?
1
vote
2answers
169 views

Can't change permissions on extracted files Ubuntu 13.10

I'm trying to install a program from the *.x86_64 file but it seems I don't have the right permissions to do it. Even if I right-click and go in the "Permission" tab, when I try to change anything ...
0
votes
1answer
51 views

Hard drive (hfsplus) will not allow me to chown or chmod

I tried chmod and chown, neither worked and I got a message like this, repeated for every file in the drive. chmod: changing permissions of ‘folder/filename.id’: Read-only file system failed to ...
1
vote
1answer
40 views

Ubuntu, messed up default group ownership

I've setup btsync on my pc and in order for it to access the folder I wanted to sync I had to set it's owner and group to btsync. I did so by running sudo chown -R btsync:btsync ~/sync. Or at least, I ...
3
votes
1answer
120 views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
0
votes
2answers
48 views

Change ownership of a large group of files

An app (Autokey-qt) installed itself with root as owner. It spans a lot of files and directories. I need to change the ownership to me in order to be able to edit the macros and configuration files. ...
1
vote
1answer
60 views

chown has no effect even after it claims it changed owner

The user 'user' exists on the server. The group 'homeusers' exist on the server. This is what is happenening: user@localhost / $ ssh user@server user@server:~$ lsb_release -a Description: Ubuntu ...
0
votes
0answers
12 views

How do you mount the Windows partition of a Hybrid Windows/Mac DVD

How to you mount the Windows partition of a hybrid Windows/Mac DVD
0
votes
0answers
65 views

Fix permissions for /usr

While trying to install adobe-flashplayer as a normal user (via a setuid binary, don't ask!), I suddenly noticed that the owner for /usr had been changed to myusername.myusername! Apparently, this is ...
0
votes
1answer
56 views

how to make /usr/lib owned by root again

I chowned -R username /usr/lib and now i cannot sudo or do any thing really due to sudoers.so belonging to username. How do i fix this and make /usr/lib owned by root again?
0
votes
1answer
518 views

changing chmod 755 to 775 on a directory will result in permission denied when connecting with sftp

When I change chmod in my /home/frans from 755 to 775 I get the following error when connecting with ftp fatal: bad ownership or modes for chroot directory "/home/frans" I'm a linux newbie and i'm ...
0
votes
1answer
31 views

Change of Ownership Causes Nautilus to crash how can I change it back?

Installing Solr I change the ownership of a folder called solr ... usr/share/solr-4.5.1/example/solr/ to tomcat7 but now when I try to change it back nautilus keeps switching off I have changed the ...
0
votes
1answer
466 views

Permissions and ownership of /var/www [duplicate]

I am using Ubuntu 13.04 VPS and have installed LAMP (apache2). Now I have uploaded my web files (WordPress) in /var/www. But I dont have permissions to write in files. When I run WordPress install, ...
1
vote
2answers
166 views

Accidentally chown -R on / [closed]

I accidentally wrote: sudo chown -R myuser / (I was actually trying to type "media/myuser/my\ pen\ drive") Now the system doesn't boot. How do I fix this? Do I just: sudo chown -R root / I'm a ...
3
votes
2answers
132 views

How can I recover from accidental chown -R

I am an Ubuntu newbie, and I accidentally typed chown www-data:www-data * -R. After a while, I tried to restart, but my computer couldn't even start, saying: # Your screen, graphics cards, and input ...
0
votes
1answer
161 views

firefox issues in ubuntu 13.04 64bit

First, im new in ubuntu so please bear with me. My firefox used to be working normally for the first time i installed ubuntu 13.04. I dont feel did anything wrong, but it suddenly cant be opened via ...
0
votes
1answer
451 views

Owner of /usr/lib is not root

Virtualbox program error: Failed to open a session for the virtual machine .... Failed to load VMMR0.r0 (VERR_SUPLIB_OWNER_NOT_ROOT). Terminal output: balazs@inspiron:/usr$ ls -l total 164 ...
2
votes
2answers
2k views

Root Owns Home Directory, chown does not work

I am running Ubuntu 12.04 and having various problems. I have traced it back to the fact that my user's home directory (/home/user) is owned by root. The /home directory is actually mounted on ...
2
votes
1answer
1k views

Unable to install tor: chown missing operand

I get the following error message while starting tor: flagg@flagg-eMachines-E627:~$ sudo chown -Rv $flagg ~/.tor-browser [sudo] password for flagg: chown: missing operand after ...
1
vote
2answers
619 views

How can I change owner back to root?

So, I did a stupid thing... I was installing some software (Java SE 7, if you must know) from a tarball, and I got tired of using sudo, so I went and changed the owner of my /usr directory to myself. ...
1
vote
1answer
57 views

Change ownership when owned have space in name?

I run into a very stupid problem, trying to migrate files into new xampp server and having hard time until i realised: The installation from package created username with space in it. So now i have ...
0
votes
2answers
41 views

New User - Installing Applications ie Android SDK - Where To ? ( Equivalent of Program Files ? )

it is taking me some time to find my way around Ubuntu and while I know I can Sudo an App like PCManFM to create directories I do not know where the best place to create a folder for the Android SDK ( ...
1
vote
1answer
114 views

How can we execute a terminal-command for all the subfolders, at once

I need to change ownership of my Downloads folder from root to my username. Using 'chown' and '*' wildcard I could get around with each folder and it's files but that's tedious. Anything I could do ...
1
vote
0answers
49 views

1 day folder on my webserver lost permissions

I've ubuntu server 12.04. I try to upload image on one of my wp installations on this box, and I get permission error (worked perfectly few days back). I log in and check permissions and I see ...
3
votes
2answers
743 views

chown -R user:user .* changes permissions backwards: is this the correct behaviour?

I got into a lot of trouble when changing the permission of a folder myfolder residing in /. I issued the command sudo chown -R luca:luca /myfolder/.* My intention was to change ownership of all ...
1
vote
2answers
104 views

Wireless driver not loading after changing ownership of /usr/lib. How can I restore default ownership?

I have changed the ownership of /usr/lib by mistake as root:root by running the below command: sudo chown -R root:root /usr/lib/ Now, the wireless drivers are not loading and also I am not able to ...
0
votes
1answer
638 views

Can't chown mounted HDD under sudo

I recently installed Ubuntu 13.04 in another attempt to drop away from Windows, and am having an issue with my two HDDs. I've gone through the entirety of this tutorial very carefully, but I think ...
0
votes
1answer
339 views

Need hdd access from live cd

Something went wrong with the kernels of my current installed Ubuntu, and because of this i can't access my Ubuntu installation, so I'm trying to make a back-up using a LiveCD and copying everything ...
1
vote
0answers
71 views

Windows won't boot after using chown on windows partition

I was following this: Mount NTFS partition at startup, with non-root user as owner to be able to use permissions with my NTFS partitions without having to change owner to "root". I did what the ...
0
votes
2answers
229 views

Set myself as owner of /etc with chown command now getting all kinds of errors

I needed to edit a .config file (which I know for a fact is not creating these problems, just to clear that up) and it wouldn't let me save it, so I took ownership of /etc and all contents with the ...
1
vote
1answer
5k views

How to restore the default chown permissions on a directory / file? [duplicate]

I am using Ubuntu 13.04 x86_64. I wanted to own whole stuff in my home directory. So I executed these two commands. sudo chown -RcH rootkea ~ sudo chown -RcL rootkea ~ Now due to those symbolic ...
1
vote
1answer
119 views

why does chown have no effect? (13.04)

I am using chown because folders/files I download via Firefox are being saved as being owned by root instead of my own user... when I used: sudo chown -R -v username:username path/path/path I see ...
0
votes
1answer
93 views

Can I set a specific group|umask to be the default one for all actions within a certain path?

I would like to override the default umask and owner:group settings within certain directories only, without requiring root privileges, as that kind of defeats the purpose. For example, when I touch ...
2
votes
3answers
291 views

Why can't I set group and ownership of one folder without afffecting the other?

I've upgraded an Ubuntu PC from 10.04 to 12.04. Problem is all the permissions were wrong on the home folders. So, I did the following: sudo chown -R james:james /home/james/* sudo chown -R ...
0
votes
2answers
116 views

Can't access function after chown command

I was using this command chown root:www-data /var/www/example.com -R, but there was a message shown that directory not listed.
2
votes
1answer
347 views

Should I install non-repository software as root or as my user?

What is the right way of installing programs that are not available in repositories: should my user own the binaries and keep them in ~/bin/, or should root own the binaries and keep them in, say, ...
0
votes
1answer
43 views

Cannot access the hardware

Last night I did a very stupid thing by changing the owner of the directory /usr using the following commands su password: chown username:username /usr Now the problem is that I cannot access the ...
0
votes
0answers
329 views

Instalation of MySql Cluster problem - Can't change dir (Errcode: 13)

I want to install MySql Cluster on my Ubuntu 12.04(64bit). I am using MySQL Cluster Quick Start Guide – LINUX for instructions. I have changed ownership of $HOME/my_cluster and $HOME/mysqlc to mysql ...
0
votes
2answers
166 views

weird change of owner for user home dir when installing vettle

All of a sudden my home dir turned to be owned by user '1016': drwxr-xr-x 96 1016 1016 20480 Apr 2 2010 albert drwxr-xr-x 32 guest guest 4096 Mar 16 13:46 guest I don't understand how that ...
1
vote
0answers
33 views

Logging in loop

I have an error that seems to have been reported before but not solved by previous answers. When I try to log in as my primary account, I get a blackscreen and go back to the login menu. I am very ...
1
vote
2answers
2k views

Why do I get an “Operation not permitted” error when running duplicity as sudo?

Currently I'm backing up my /home/ folder to a usb mounted on /media/liamzebedee/X using duplicity. When I go to restore the folder to the USB however (using sudo), I get the error - Error ...
2
votes
0answers
416 views

How do I know my system is broken after chown -R root usr/bin?

This question is related to another question -- "Can't access any functions after chown command." -- but I think it may be worthy of an independent question. My question is: how do I know that my ...
0
votes
1answer
478 views

Can't log in although password is correct

Im fairly new to ubuntu so bear with me on this. I was doing an assignment for my CSCI 323 class that required Manually adding a new user and my problem came about after I followed these instructions: ...
2
votes
2answers
933 views

Is it safe to chown `/usr/local`?

I know what /usr/local is for - installing software for the local machine. By default, root owns the directory. This means that to install there, you need to use sudo. For a single-user or developer ...
1
vote
2answers
62 views

Is it possible to change the group of a file if I am not part of that group?

Is it possible to use chgrp or chown to change a file's group to one that I as the owner am not a part of? I own the file, but I am not part of the group that I want to change it to, so can it be done ...
1
vote
1answer
2k views

How to fix “chown: invalid group:” if the user does not exist on the running system?

I want to fix permissions on another disk with chown. Set the permissions to a user which does not exist on the system which is currently running. Does that work without adding the user?