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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Not sure why it won't allow you to edit, what editor are you using? Have you tried renaming it and maybe copying the contents in it to a new file and name it smb.conf ??
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?
Thank you, Thank you, Thank you! It worked!
I knew it must be something simple.
I was on the verge of doing something drastic (like re-install samba).
Your help is much appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.