1

I have just gone from WD10 to Ubuntu 16.10 (Dual Boot on two separate hard drives) on my Desktop and I am just wondering why all my files and folders on my external hard drive and secondary hard drive have 777

What is recommended RWX permission and how to do it on every file and folder in one commmand and not do it manually for every file?

Asaf M
  • 291
Xaner4
  • 11

1 Answers1

0

Lets assume your device is /media/username/thedevice to apply the permissions to all files and folders you would do:

sudo chmod 777 -R /media/username/thedevice

A real example is a external HDD that I have in /media/luis/backups and to avoid all permission related issues I would do:

sudo chmod 777 -R /media/luis/backups

Now if the file system is not ext4 or linux based but it is for example NTFS (Specially NTFS) I recommend solutions like:

How to correctly fix a "dirty" NTFS partition without using chkdsk

Cannot write permissions NTFS partitions

Luis Alvarado
  • 216,643