Changing File Permissions: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "*You can find out existing permissions in command line via ls -l *You can find out what external disks are mounted via sudo fdisk -l [https://askubuntu.com/questions/321010/ho...")
 
No edit summary
 
Line 1: Line 1:
*You can find out existing permissions in command line via ls -l
*You can find out existing permissions in command line via ls -l
*You can find out what external disks are mounted via sudo fdisk -l [https://askubuntu.com/questions/321010/how-to-change-permissions-on-a-usb-stick]
*You can find out what external disks are mounted via sudo fdisk -l [https://askubuntu.com/questions/321010/how-to-change-permissions-on-a-usb-stick]
*sudo chmod 666 /dev/sdY changes permissions of disk to rw (777 is rwx), where sdY is the device assignment for your USB drive.That will allow you to read and write.

Latest revision as of 22:42, 15 July 2019

  • You can find out existing permissions in command line via ls -l
  • You can find out what external disks are mounted via sudo fdisk -l [1]
  • sudo chmod 666 /dev/sdY changes permissions of disk to rw (777 is rwx), where sdY is the device assignment for your USB drive.That will allow you to read and write.