The chown command (abbreviation for change owner)

learn more… | top users | synonyms

1
vote
2answers
337 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 ...
1
vote
2answers
119 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 ...
1
vote
2answers
65 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 ...
0
votes
2answers
340 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 ...
0
votes
2answers
140 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
68 views

Can't access home folder

While installing Matlab, I mistakenly typed sudo chmod +x ./java in the home folder. And I got i/o error that you are not allowed to access the home folder. Suddenly everything in my home folder ...
2
votes
1answer
176 views

Locked out of drive on Ubuntu Server

I was trying to delete some torrents that I had downloaded with transmission-daemon and was unable to from my samba share on windows due to transmission's default file creation permissions. I ...
1
vote
1answer
138 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 ...
1
vote
1answer
270 views

directory permissions adding user in a group

I added a user using useradd useradd -g upperdevs myuser But when I do an id check I didn't see the upperdevs group. id myuser #uid=1000(myuser) gid=1000(myuser) groups=1000(myuser),27(sudo) ...
1
vote
1answer
872 views

authentication problem at Ubuntu 12.04

I get this error when I try to authenticate using Gnome GUI. I have NO authentication problem when I use terminal. It is suggested here that I need to do sudo chown -R myusername:myusername ...
0
votes
1answer
39 views

set file permissions

I have a directory, where users can drop their plugins (for a game). The directory permissions work for adding these plugin files. But there is one Problem: When the plugin generates config files, ...
0
votes
1answer
16 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 ...
0
votes
1answer
31 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.
0
votes
1answer
83 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
743 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
45 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
799 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
108 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 ...
0
votes
1answer
369 views

Writable permission is not writable

I am running Ubuntu 12.04 x64 server on ext4 partition. I set a directory's permission to '766' as below. sudo chmod 766 /archive drwxrw-rw- 3 root root 4096 Sep 27 10:50 archive/ But, when I ...
2
votes
0answers
474 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 ...
1
vote
0answers
15 views

How to change read-only permission under 501 user?

I have a hard disk that install on it mac osx 10.4.11, so I plugged that to my Ubuntu system and now I can see all of the files, but it's just read only under the 501 user permission I'm root in ...
1
vote
0answers
53 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 ...
1
vote
0answers
73 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 ...
1
vote
0answers
36 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 ...
0
votes
0answers
32 views

chrome does not load

hey there i followed the instructions on this page to change permission of all files in a directory in /var ...
0
votes
0answers
22 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
0answers
16 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
78 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 ...