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