0


I am unable to change the privileges of the directory or file which is not in desktop using chmod. while it is working properly for the directory and folders of desktop.
am using the command

chmod 000 /media/drivename/dirname

what should I do??

2 Answers2

2

You can't do chmod on a drive:

The mode is determined by the partition's mount options (you cannot change it via chmod).

Tim
  • 32,861
  • 27
  • 118
  • 178
0

You can take a look first:
1. What is partition type for drivename,
as this under directory media it should be removeable media
2. Check if partition is writeable
$ mount |grep drivename
it should show (rw,..something)

if not, please remount with rw options, or take require installation to have writeable

hope this help