Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Directory permissions: create, access, no deletion
  • Loading branch information
selormButsorGamenyah committed Mar 24, 2023
commit daf83da4798258374e05c36ebfcf2edc639e00e0
12 changes: 12 additions & 0 deletions scripts/directoryPermissions_create_access_noDeletion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
#Purpose:Create a directory such that anyone in the group can create a file and access any person’s file in it but none should be able to delete a file other than the one created by himself.
#Created Date: 24 March, 2023
#Author: Selorm Butsor Gamenyah
# START #

mkdir direc_1

chmod g+wx direc_1

chmod +t direc_1