The chown command (abbreviation for change owner)

learn more… | top users | synonyms

0
votes
0answers
4 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
1answer
30 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 ...
1
vote
3answers
213 views

Changing ownership of folder not working!

I am trying to change the ownership of a folder and subfolders by typing either of these: sudo chown $user -R /usr/bin/.folder/ sudo chown $user -R /usr/bin/folder/ sudo chown $user -R ...
1
vote
1answer
85 views

How to lock down SFTP user?

I really need some help, I have been trying to jail a user using ubuntu. Thing to note: james is the user sshusers is the group /home/james/upload/ is the directory where I wish to lock user ...
4
votes
2answers
41 views

problem during compilation

I am learning how to compile using your CompilingEasyHowTo guide. But as soon as I run the command shown below in the terminal, it shows the following error: tejas@tejas-AU909AA-ACJ-CQ3120IX:~$ sudo ...
0
votes
1answer
97 views

Is it bad to chown /media/USERNAME for your web server?

I've been trying to get this software working for my webserver. It's called ownCloud. I had partitioned my hard drive just to host my files on my web server. I made a new partition (128gb) and I've ...
0
votes
1answer
32 views

Cannot Write to www and update wordpress at same time

I have LAMP installed on my Ubuntu 14.04 server and am using apache as a web server. I am going to be using the web server for Wordpress primarily. The problem I am running into is that I cannot ...
2
votes
2answers
26 views

Chown Not Responding as I expected.

New to Ubuntu, so bare with me. I recently changed the permission of mysql, /var/lib/mysql so I could save a database in it manually (was only option currently, instead of importing it the proper ...
2
votes
1answer
194 views

Why is root the owner of my Desktop in Ubuntu 14.04?

When I am in my home folder there is a padlock on my Desktop icon. In properties there is written that root is the owner of Desktop and consequently I can't put anything on my Desktop. I have ...
2
votes
1answer
271 views

chown recursively changed permissions

I ran the chown command in a directory: chown -R user:user {.,}* The {.,}* is used with mv and cp to include both hidden and listed files. Now this command went through and changed those two files ...
1
vote
0answers
51 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 ...
0
votes
2answers
41 views

Does chown command require login and logout to reflect changes?

Does chown command require login and logout to reflect changes?
0
votes
1answer
54 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, ...
1
vote
1answer
34 views

Can root chown anything?

So I have a duplicity-based backup script which is run periodically as root thanks to anacron. It runs as root because I'm backing up about the whole file system (save for /tmp, /sys, etc), and also ...
0
votes
2answers
104 views

Revert permission of /usr back to root

I was doing some alterations but in one I messed up. I changed the permissions of almost everything inside the /usr folder to my own user. It didn't change everything because it failed in the middle ...
0
votes
0answers
42 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 ...
2
votes
1answer
270 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 ...
3
votes
4answers
5k views

/usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I have run following command accidentally sudo chown [username] -hR / Now sudo su getting error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set How to Solve This?
0
votes
0answers
23 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
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 ...
3
votes
1answer
471 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
35 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
41 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
582 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
163 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
106 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
579 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
66 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
154 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
20 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
83 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
104 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
60 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
3k 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
328 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
179 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
180 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
1k 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 ...
3
votes
2answers
4k 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
3k 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
2k 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
129 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
47 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
150 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
57 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
3k 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
132 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
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
407 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 ...