The chown command (abbreviation for change owner)

learn more… | top users | synonyms

1
vote
2answers
2k 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
1k 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
228 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
108 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
247 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
2k 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
253 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
87 views

USB Drive - Not able to change file permissions

Now, please note that this is a sub-question of my old Changing Ownership: “Operation not permitted” - even as root! question. If you do not want to visit that link or cannot, to sum up, while ...
1
vote
1answer
78 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
241 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
317 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
965 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 /home/...
0
votes
1answer
25 views

permissions, changing ownership

I have a flash drive which contains recovered files from my old mac, I installed Ubuntu just to recover these files, I have no other purpose for the OS. The drive shows owner "Root" and the files are ...
0
votes
1answer
101 views

Give a user read access to a directory without making them owner

I want to give user testuser read access to /Media/Test without making them the owner of the directory, nor giving access to everyone. How would I go about this? I want to do this because I'm ...
0
votes
1answer
131 views

Cannot get past log in screen after restoring backup

I recently restored my /home/main-account directory from a backup hard disk. After rebooting I can't get past the log in screen for this account. I had copied all the data using an alt account and it ...
0
votes
1answer
608 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
244 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
81 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
21 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
68 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
3k 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
105 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
2k 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
360 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
616 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
880 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
42 views

recursive CHOWN - how do I do this without terminal

I avoid using the terminal whenever possible, but recently I had to take ownership of a folder, or subfiles and subfolders. The only help I found for this was on google using the terminal. How can I ...
1
vote
0answers
23 views

Can't chown despite no error messages

I got /dev/sda9 NTFS partition mounted r/w under /data /dev/sda9 on /data type fuseblk (rw,noexec,nosuid,nodev,allow_other,default_permissions,blksize=4096) and I got the folder PhotoCopy to which ...
1
vote
0answers
940 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
68 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 ...
0
votes
0answers
30 views

ubuntu as vagrant vm: cannot chown to other users

I have a directory: /home/vagrant/flarum and I am trying to change the owner of the directory from root to vagrant. so I run this commond: sudo chown -R vagrant:vagrant /home/vagrant/flarum this ...
0
votes
0answers
15 views

Owner status of directory reverting

I use Ubuntu 64 bit, version 14.04 LTS. I have 2 users on this machine, user1 and user2. Both users are part of the same group. I run a python script that logs something in a file, that is within a ...
0
votes
0answers
47 views

For proper operation, what files / dirs should be owned by root

I have a Linux (Ubuntu 14.04.1) Living on a disk. I launch a cloud instance, do some setup, and then chroot to the appropriate place on that disk. I had to move to a new cloud, with a new disk. ...
0
votes
0answers
25 views

Hardrive Permission

So I added a second drive for to use for back-ups. I changed the ownership, when I try to use the partition, it says that I do not have permission. Here is what mount is showing. /dev/sdb3 on /media/...
0
votes
0answers
162 views

chown: cannot access '/var/lib/lightdm/.gvfs' permission denied

For I can't login to the desktop, I searched for a solution and find a way that reinstall lightdm, so I tried to reinstall lightdm, but returned a message: chown: cannot access '/var/lib/lightdm/....
0
votes
0answers
51 views

Don't understand how to use sudo chown

I tried to install Angular.js in ubuntu, but I get stuck because I cannot run 'yo angular' because this file is locked and I am not the owner. After I looking for how to solve this problem, I found in ...