The chown command (abbreviation for change owner)

learn more… | top users | synonyms

1
vote
2answers
101 views

Ubuntu 14.04 Login Loop from running startx in root

I made a really big mistake and no other articles seem to be fixing this. I was trying to fix my new Ubuntu laptop that I bought because it has the username defualt (spelled wrong) and I didn't like ...
1
vote
2answers
745 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
150 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
69 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
549 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
164 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
477 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
202 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
19 views

Chown-ed windows partition

I need some help, if you could have a look. I have a laptop dualbooting Windows 8.1 and Ubuntu 14.04. I was trying to share some files on my home network, both from my external hard drive, and from ...
1
vote
1answer
164 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
297 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
926 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
19 views

Change Owner From “root” in VMware's Shared Folder

I'm running a Xubuntu from a Windows 8 host. I can't change the owner of shared files from xubuntu by any sudo chown ... command. Is there any other way I can change the owner from the root to the ...
0
votes
1answer
41 views

How to Remove Recursively grant ownership

I recently switched from Windows 8.1 to Ubuntu. Yesterday, I wanted to install PHP but during tutorial I did this: sudo chown -R joy /var/www but now onward for every command it ask for password ...
0
votes
1answer
60 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
17 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
40 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
145 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
1k 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
67 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
1k 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
146 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
428 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
591 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
91 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
58 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
84 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
44 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
38 views

Help with chown command

I am a novice user with ubuntu, I ran some chown commands to give permssions to www-root apache folder, but some thing went wrong and all my folders, user account got locked. I am unable to open ...
0
votes
0answers
14 views

Furius ISO Mount: directory belongs to root

whenever I mount an .iso file with Furius ISO Mount, the created directory in ~ belongs to root / root. When I tried to sudo chown dennis name_of_dir, I am told that I've not the permissions to do so. ...
0
votes
0answers
43 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
25 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
21 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
-1
votes
0answers
12 views

chown for files with user 504:0

I am trying to recover a security zipped copy from my NAS after bricking my /home. I am however being refused file access to the file sdb1_300914.gz with "no rights" (German "keine Berechtigung") so I ...