No write access to modify 55-libsane.rules

I have brother dcp 150c which I already installed printer driver and it works very well. As for scanner I could successfully install driver and scan-key-tool. One thing left for me is to set the scanner for normal user as described in this link Brother Solutions Center : Brother Driver for Linux Distributions

The instruction is:
1. Open “/etc/udev/rules.d/55-libsane.rules”
2. Add the following 2 lines at the last of the device entry. (just before “# The following rule…”)

# Brother
ATTR{idVendor}=="04f9", MODE="0664", GROUP="lp", ENV{libsane_matched}="yes"

3. Restart the OS. 

I opened Konsole and typed su - then followed by password. After that I went to etc/udev/rules.d/55-libsane.rules by using Dolphin and opened it by KWrite. I could type what the instruction told me to do but at the end I couldn’t save it. The KWrite returned " The document could not be saved, as it was not possible to write to /etc/udev/rules.d/55-libsane.rules. Check that you have write access to this file or that enough disk space is available"

At the moment I cannot use scanner at all and every time I open Xsane, it will say “Failed to open device ‘brother2:bus3;dev2’: Error during device I/O”

This might sound stupid for you guys but I have tried to solve it by myself for more than a week and still cannot solve it. I am very new to Suse as this is my first time to switch from windows.Hope that you guys will help me solve this trouble. Thank you very much.

I think you musunderstand. su - makes you root only in the konsole window, not the whole desktop. Either you edit the file in the now root konsole

# vim /etc/udev/rules.d/55-libsane.rules

or you don’t use su but kdesu to start kwrite

$ kdesu kwrite /etc/udev/rules.d/55-libsane.rules

Thank you very much. I can solve this problem and learn more about Suse.

You can also use File Manager Superuser Mode for this.:wink: