Linux openSUSE Change File Owner Tutorial

December 8, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

OpenSUSE Change File Owner

Welcome openSUSE User! The Tutorial Shows You Step-by-step How to Change File/Directory Owner on openSUSE GNU/Linux Desktops.

And the OpenSUSE Change File Owner instruction is to Set a different Owner for Files and Directories on the openSUSE File System.

Furthermore, 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 openSUSE Bash Shell Command Line.

OpenSUSE Change File Owner - Featured
  1. OpenSUSE Linux Terminal Tutorial for Beginners

    OpenSUSE Linux Terminal Quick Start
  2. Who Can Set/Change the Ownership?.

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

  3. How to Set/Change the Ownership?.

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

      sudo chown [myUser]:[myGroup] [myEntity]

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

      How to Look Up User Name & Group on Terminal

      Find User Name & Group

      For Instance:

      mkdir -p $HOME/hello/world

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

      sudo 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):

      sudo chown -R [myUser]:[myGroup] [myEntity]

      For Instance:

      sudo 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:)

      sudo chown -R [myUser]:[myGroup] $HOME/hello/world

      Check again Ownership like Above…

  4. How to Change Permissions on openSUSE File System

    OpenSUSE Change File Permissions in Shell

Tags: ,

QuickChic Theme • Powered by WordPress