The chown command (abbreviation for change owner)

learn more… | top users | synonyms

1
vote
2answers
914 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
203 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
80 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
211 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
1k 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
225 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
12 views

suddenly don't have acces to Mounted Drives, chown/chmod don't help

I'm having some trouble with a few drives in my computer. I have been unable to access 3 drives (one internal and two external) except as root for the past day. All three drives are ext4 and I was ...
1
vote
1answer
154 views

change ownership of all files from root to user

i'm new to Ubuntu and was wondering if there is a way to remove the ownership of all files and scripts from root to user even if i have to re-install Ubuntu? i do know about the command 'chown -v ...
1
vote
1answer
54 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
202 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
312 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
948 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
55 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
44 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
208 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
64 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
73 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
56 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
2k 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
86 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
242 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
495 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
724 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
326 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
65 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
71 views

restore to original chmod and chown settings

I nuked my whole system attempting to make some "minor changes". The errors ranged from org.freedesktop.dbus.error.spawn.permissioninvalid to setuid helper is not correct to must be owned by uid0 ...
0
votes
0answers
83 views

Folder Permissions

I am having trouble serving a folder out using samba. I have already successfully shared a folder but my folder permissions are jacked up: [samba is successfuly shared, flexraid_pool is a folder I ...
0
votes
0answers
17 views

could not connect to server

To solve an error that said ( permission denied ), I tried to sudo chown –R edxapp / Then error appear says: must be setuid root. And to solve that I tried chmod u+s /usr/bin/sudo but then ...
0
votes
0answers
99 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
50 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. ...