It is a memo for me because I am sometimes in the similar trouble.
It only appears to be Read-Only mode when accessing the filesystem via samba.
SELinux might prevent to write files. Check the SELinux. Just type "sestatus" on the command line. If you see "SELinux status: enabled", it is Bingo!
This is resolved by editing the following files and rebooting the server.
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. #SELINUX=enforcing SELINUX=disabled # SELINUXTYPE= can take one of these three values: # targeted - Targeted processes are protected, # minimum - Modification of targeted policy. Only selected processes are protected. # mls - Multi Level Security protection. SELINUXTYPE=targeted
That's all. Enjoy!