$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Set-Change Ownership on Files and Directories By the Command Line on Linux Mint 17 Qiana Linux

October 17, 2014 | By the+gnu+linux+evangelist.

Linux Mint Setting Ownership on File System

This tutorial will guide you step-by-step on 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.

Setting Ownership on Linux Mint 17 File System - Featured
  1. First, Open a Command Line Terminal Console Window
    (Press “Enter” to Execute Commands)

    Mate:
    Linux Command Line Console Terminal Quick Start for Linux Mint - Mint Mate Open Terminal
    Cinnamon:
    Linux Mint 17 Qiana Command Line Quick Start - Mint Cinnamon Open Terminal
    KDE:
    Getting-Started with Command Line Console on Linux Mint 17 Qiana - Mint KDE Open Terminal
    Xfce:
    Getting-Started Command Line Terminal for Linux Mint 17 Qiana - Mint Xfce Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. How to Quick Start with Command Line on Mint Linux

    Mint Console Quick Start
  3. Who Can Set/Change the Ownership?.

    Only the Administrators or a Super-User Can Change a File/Directory Ownership!

  4. How to Set/Change the Ownership?.

    • To Set/Change Ownership Over a Single File/Directory:

      su -c "chown [myUser]:[myGroup] [myEntity]"

      Where [myUser] is your’s user Name & [myGroup] is your’s user Primary Group.

      How to Look Up Username & Group on Terminal

      Find Username & Group

      For Instance:

      mkdir -p $HOME/hello/world

      Now to Give the ‘world’ Directory to the ‘root’ User do:

      su -c "chown root:root $HOME/hello/world"

      Checking Ownership:

      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]"

      For Instance:

      su -c "touch $HOME/hello/world/happy"

      Checking Ownership:

      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]:[myGroup] $HOME/hello/world"

      Check again Ownership like Above…

  5. How to Set Permissions on Mint File System

    Mint Permissions Quick Start