How-to Set-Change Ownership on Files and Directories by the Command Line on Linux Mint 17 Qiana LinuxOctober 17th, 2014 by thelinuxevangelist
Linux Mint Setting Ownership on File System
The Linux Tutorial Shows You Step-by-step How-to Setup or Change the Ownership over Files and Directories on Linux Minrt 17 Qiana Mate/Cinnamon/KDE/Xfce.
The Ownership Decide How is the Owner of Files and Directories on the Mint Linux File System.
To Set the Ownership Over Files and Directories is the First Step in Setting Up Permissions and so Establish a Control and Security over the System.
To Follow the Tutorial You will Need to have a Little Practice to Work on the Linux Mint Console Terminal Command Line.
First Open a Command Line Terminal Console Window
(Press “Enter” to Execute Commands)Mate:
Who Can Set/Change the Ownership?
Only the Administrators or a Super-User Can Change a File/Directory Ownership!
How to Set/Change the Ownership?
To Set/Change Ownership Over a Single File/Directory:
su -c "chown myUser:myGroup myEntity"
mkdir -p $HOME/hello/world
Now to Give the ‘world’ Directory to the ‘root’ User do:
su -c "chown root:root $HOME/hello/world"
ls -l $HOME/hello
To Set/Change Permissions Recursively Over a Directory and it’s Content (Subdirectories and Files):
su -c "chown -R myUser:myGroup myEntity"
su -c "touch $HOME/hello/world/happy"
ls -l $HOME/hello $$ ls -l $HOME/hello/world
Now to Get Back the ‘world’ Directory with the ‘happy’ File:)
su -c "chown -R myUser:myUser $HOME/hello/world"
Check Ownership like Above…
How-to Set Permissions on Mint File System:Mint Permissions Quick-Start
How-to Quick-Start with Command Line on Mint Linux:
Tags: Bash, Command line, Console, Getting Started, linux command line, linux console, Linux Mint, linux mint 17 qiana, linux mint change ownership, linux mint command line, linux mint console, linux mint directory ownership, linux mint file ownership, linux terminal, Linux Tutorial, Quick Start, Terminal, Tutorial