Reputation: 27200
i am accessing another ununtu linux system by ssh
now when i am going to change the permission of any file in that system then it shows
chmod: changing permissions of `Android.mk': Read-only file system
chmod: changing permissions of `system_init.cpp': Read-only file system
i have tried with sudo
and login as root
but still not getting why i am not able to change the permission of that files.?
Upvotes: -1
Views: 5214
Reputation: 25337
Well the error message states the reason pretty clearly. Have you checked how the filesystem in question is mounted? Is the ro
mount option set by any chance? If you have root access you can remount the filesystem without the read-only option, if that is a sensible thing to do in this case. It must have a reason why the fileystem was mounted read-only in the first place.
Upvotes: 1