Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to make folder readable and writable in ssh

To change all the directories to 755 (drwxr-xr-x):

->  find /opt/lampp/htdocs -type d -exec chmod 755 {} ;

->  find ../root -type d -exec chmod 755 {} ;

// Where ../root AND /opt/lampp/htdocs 
is the folder where the files exist

To change all the files to 644 (-rw-r--r--):
find /opt/lampp/htdocs -type f -exec chmod 644 {} ;
Comment

PREVIOUS NEXT
Code Example
Shell :: combine files with header bash 
Shell :: check if file contains string bash 
Shell :: git checkout stack 
Shell :: fix dns browser linux 
Shell :: sed beginning of file 
Shell :: SCCM install update via command line 
Shell :: microk8s port forward 
Shell :: vim replace word with copied 
Shell :: multipass snap 
Shell :: new branch contains old commit 
Shell :: code audit 
Shell :: watchan windows latest release 
Shell :: install gtk in msys2 shell 
Shell :: gigabyte b550M enable TPM 
Shell :: bash nano search 
Shell :: Mirror Repository Ubuntu 19.10 
Shell :: ignore always ask sudo permission on folder 
Shell :: Fix SSH Error in Terminal & Linux: client_loop: send disconnect: Broken pipe 
Shell :: install veracrypt on mac 
Shell :: kill SIGUSR2 
Shell :: proxmox pass raw disk 
Shell :: pdftk remove last page from pdf life 
Shell :: como veo lo que he cambiado en git 
Shell :: how to install rfkill in kali linux 
Shell :: execute command on every recursive directory 
Shell :: overwrite a file name character in linux 
Shell :: Calling Non-checksummed download of pup formula file from an arbitrary URL is disabled! 
Shell :: install node in linux from tar 
Shell :: how to kill a program in lunux mint 
Shell :: upgrad g++ 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =