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??
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The mode is determined by the partition's mount options (you cannot change it via chmod).
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