-1

I am trying to remove write permission for others for this one

-rwxrwxrwx 1 root root 2950421 Jul  7 15:19 fcp_daemon

I am using this command and I am performing this action as a root user

chmod o-w fcp_daemon 

but I am getting this error

chmod: changing permissions of `fcp_daemon': Read-only file system

  • 4
    Odds are, you're getting the error because the filesystem is read-only. – Mark Sep 29 '15 at 7:48
  • 1
    @martin If you edit a post for formatting, please look at the spelling, etc., as well while you are at it (an additional 3 errors and begging has no place in a post) – Anthon Sep 29 '15 at 8:06
2

Your filesystem is read-only, probably because it is damaged. This has nothing to do with the file permissions. Check the output of the dmesg command if there are any ATA error messages that may indicate a damaged hard disk.

  • if I run that dmesg command is any effect to filesystem and any reboot needed – kondareddy Sep 29 '15 at 7:53
  • @kondareddy man dmesg will tell you what the command does – roaima Sep 29 '15 at 7:59
  • ... Or it's read-only media (CD-ROM or DVD-ROM)... – Jeff Schaller Sep 29 '15 at 11:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.