Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am not sure if this is the correct forum but here goes...
When I edit /etc/samba/smb.conf I cannot save it (as root). The file has been made read-only.
When I try to change permissions (again, as root) I get this error:
[root@penguin samba]# chmod 744 smb.conf
chmod: changing permissions of `smb.conf': Operation not permitted
This is what 'ls -l' gives me:
-rwxr--r-- 1 root root 1398 Sep 18 11:50 smb.conf*
Why can't I edit this file as root? I edited it in the past. I even tried it with Knoppix with the same result.
I am able to create and edit other files in this directory but not this one file. Does anyone know what is going on?
I am running Mandrake 9.1
I can't rename (mv). Also, lmhosts has the same problem. I am using gedit and have used kedit. (The window manager is KDE 3.1.) I have tried turning off the smb service with no effect. The funny thing is that samba in all other respects is working fine: files to/from Linux and WinXP. I would just like to be able to change the Linux shares.
Is there a way to see what is doing this?