How can I change the file ownership to root on ubuntu 14.04
Sometimes I use root account to create some file for normal user. But it is just for convenient. And I really hope the owner of this file should be the user I create this file for.
How can I change the file owner? (GUI tools are better)
If I have a file with permissions and ownership like:
-rw------- 1 root root
, is this file encrypted?
I am asking this because I am wondering how the file is really protected against being read as plain bytes and then reconstructed by some non-root user, or by an attacker.
I ran chown -R root:root *
by mistake in my home folder when I had root privilege (actually I was supposed to do that in other folder :-/) How do I revert back?
This is not duplicate of what it is showing up. I don't have any problem with .gvfs
; folders that were affected were Desktop, Documents, Downloads, Music, Pictures, and Videos. By default, shell globbing *
does not include hidden files.
On the command line I read root@luis-NH4CU53:~#
, and my external HD is recognized, but I cannot make any changes to it because it's properties says root is the owner. You are not the owner, so you cannot change these permissions.