Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

MaimoonaKhilji/Linux-File-Directory-Permissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

  1. Create a directory bsseA _permission_test in /home/[username] directory.

  2. Cd into bsseA _permission_test.

  3. Create a file data.txt using following command:

  • echo “This is a test file to inspect and modify permissions” > data.txt
  1. Check the content of data.txt using following command:
  • cat data.txt
  1. create a dirA in pwd using “mkdir dirA” command

  2. Check default permissions of dirA and data.txt using ls –l commad

  3. Change the permission of data.txt using octal digits as

  • All users can only read and write [confirm using ls –l ]
  • Only group can read write and execute [confirm using ls –l ]
  1. Change the permission of dirA using octal digits as
  • owner can only execute and write & group can read and execute & other can read and write [confirm using ls –l ]
  • Owner and other can read and execute [confirm using ls –l ]
  1. Set permissions of data.txt using symbol to:
  • –rw-rw----
  • –rwx rwx rwx
  • -rw-rw-rw-
  1. Set permissions of dirA using symbol to:
  • –rw-rw---x
  • –rwxr-xr-x
  • --w-r--rw-

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp