Wednesday, May 28, 2014

How To Create Collaborative Directory And Set Permission In Linux

1:43 PM

A Red Hat Certified System Administrator (RHCSA) is able to perform the following tasks:

  • Understand and use essential tools for handling files, directories, command-line environments, and documentation
  • Operate running systems, including booting into different run levels, identifying processes, starting and stopping virtual machines, and controlling services
  • Configure local storage using partitions and logical volumes
  • Create and configure file systems and file system attributes, such as permissions, encryption, access control lists, and network file systems
  • Deploy, configure, and maintain systems, including software installation, update, and core services
  • Manage users and groups, including use of a centralized directory for authentication
  • Manage security, including basic firewall and SELinux configuration.


 Create a collaborative directory /linuxstorages/data with the following:

CMD:

  root@linuxstorage:~#mkdir -p /linuxstorages/data
                            p = can create a directory from any path.

  root@linuxstorage:~#chgrp -R central /linuxstorages/data

           chgrp = changing primary group for the directory.
         
            R = recursive . changes will reflect all sub-directories and files below sharedgrp.


  root@linuxstorage:~#chmod 2070 /linuxstorages/data

          chmod - modifying permission for sharedgrp.

          2070  - Giving full permission only to group users and zero permmision for other users.

           2 - Special Permission. set group id.
           0 -  User.(zero permission).
           7 -  4+2+1 = 7 (4= read, 2 = write, 1 = execute). Group user.
           0 - Other users.(zero permission).

Written by

3 comments :

  1. The most reliable material, in my view, is Pass4sure Microsoft dumps. By using this material according to the guidelines of experts at Dumpspass4sure, I have aced my IT certification. Success was very clear as I went through Microsoft dumps. All the exam topics were clearly explained.

    ReplyDelete
  2. If you are worried regarding preparation for RedHat EX200 study guide then you must visit DumpsSure.com for any kind of help. Here you get rhel-7-rhcsa RedHat EX200 dumps with accurate account of the course contents. In addition, you get other help to improve your performance. These services range from experts’ guidance, latest exam updates, to the point study stuff to online practice test. By using all these services for the preparation of your IT exam, you can bring very unique grades in your final exam. EX200 real exam questions answers are fraught with precise knowledge about the relevant IT field and make you eligible to answer any question in the final exam. Though all these services confirm your success in the final exam, but you are given money back guarantee for any unfortunate attempt.

    Actual Redhat Exam Dumps Questions Answers

    ReplyDelete
  3. Excellent Blog I like your blog and It is very informative. Thank you
    RHCE Certification Course

    ReplyDelete

 

© 2014 Linux Storages | Updated . All rights resevered. Designed by Templateism