Saturday, December 26, 2020

Chapter 7 : Creating "sources" and "tools" Directory

Hi,

In this chapter I would like to disclose the creation of "sources" and "tools" directory at the location /mnt/lfs

Use the following commands to create the above mentioned directories

$ cd /mnt/lfs
$ sudo mkdir sources
$ sudo mkdir tools

Along with the creation of directories, we should also change the file permissions of the directories created...

To do that, use the following commands...

$ sudo chmod -v a+wt /mnt/lfs/sources
$ sudo chmod -v a+wt /mnt/lfs/tools

The purpose of changing the file permissions is to make the folders sticky, which means any user can perform read and write operations but only the owner can delete the file in the specified directory.

At last we have to change the ownership of the directories from "root" to "lfs"...

Use the following command to change the ownership

$ sudo chown -v lfs /mnt/lfs/sources
$ sudo chown -v lfs /mnt/lfs/tools





No comments:

Post a Comment

Addressing Modes of 8080 / 8085 MicroProcessor

Hi,   In this post I am going to talk about different addressing modes of 8080/8085...without much talking let us get into the topic.   Ther...