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

Ubuntu 17.10 Change File Owner Tutorial

November 13, 2017 | By the+gnu+linux+evangelist.

Ubuntu 17.10 Change File Owner

Hi! This tutorial will guide you step-by-step on How to Ubuntu 17.10 Change File/Directory Owner.

And the Change File Owner Ubuntu Artful guide is to Set a different Owner for Files and Directories on the Ubuntu Linux File System.

Moreover, Mastering the Ownerships Over Files and Directories is the First, Step in Setting Up Permissions and so Establishing a Security over the System.

Finally, Following the Tutorial you will Get a Little Practice with the Ubuntu Linux Shell Command Line.

How to Change File Owner in Ubuntu 17.10 Artful - Featured
  1. Open a Shell session
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands)

    How to Change File Owner in Ubuntu 17.10 Artful - Featured
  2. Command Line Tutorial for Beginners Ubuntu 17.10

    Here Console Quick Start Guide
    Terminal Getting-Started Guide for Ubuntu
  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:

      Copy
      sudo 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

      Here Find Username & Group
      How to Find Username and Primary Group on Command Line

      For Instance:

      Copy
      mkdir -p $HOME/hello/world

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

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

      Checking Ownership:

      Copy
      ls -l $HOME/hello
    • To Set/Change Permissions Recursively Over a Directory and it’s Content (Subdirectories and Files):

      Copy
      sudo su -c "chown -R [myUser]:[myGroup] [myEntity]"

      For Instance:

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

      Checking Ownership:

      Copy
      ls -l $HOME/hello && ls -l $HOME/hello/world

      Now to Get Back the ‘world’ Directory with the ‘happy’ File:)

      Copy
      sudo su -c "chown -R [myUser]:[myGroup] $HOME/hello/world"

      Check again Ownership like Above…

  5. How to Set Permissions on Ubuntu File System

    Here Ubuntu Permissions Quick Start
    Link to Step-by-Step Easy Guide on Setting Up Permissions on Ubuntu Linux File System.
  6. Ubuntu Best Software Installation Guides:
    Best Software to Install on Ubuntu.