[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Mark Jose wrote: > On Thursday 10 May 2007 18:11, christopher.berry1@xxxxxxxxxxxxxx wrote: >> Posted by "Berry Christopher" <christopher.berry1@xxxxxxxxxxxxxx> >> >> >> Thanks friends for the suggestion of sudo which worked fine BUT I now need >> to edit the file snapscan.conf to put in esfw41.bin - when I try I get -- >> Warning: unknown mime-type for "etc/sane.d/snapscan.conf" -- using >> "application/*" Error: no write permission for file >> "etc/sane.d/snapscan.conf" >> I've tried with gedit but but I still get told that I have no write >> permission!!! Any suggestions? >> Cheers in advance, >> Christopher Berry. >> -- > > Use sudo again Christopher. > sudo gedit /etc/sane.d/snapscan.conf You can't do that. Graphical applications cannot be run by root (well, they could be, if you start an X server as root- which is even more of a no no)- the X server belongs to your user. And rightly so. Learn a simple command line editor- if you ever really mess up your system that will be essential anyway. > Basically, most files other than those in your /home directory are owned > by "root". So, you need to have root priveliges to edit them - thats what > sudo does, it gives your username temporary root priveliges. Why does everyone always suggest sudo? If you've got 3 commands to run as root, you don't want to type the password every time. Use su. Now you have a root shell. Run the 3 commands, then type exit. Please rebuke me where necessary. Hope this is of some help. Simon -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html