need print driver for brother MFC 3220c

Asked by papawdalton

Is there an alternate driver that will work for a Brother model MFC-3220C 5in1 Color Printer?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu kde-systemsettings Edit question
Assignee:
No assignee Edit question
Solved by:
Cesare Tirabassi
Solved:
Last query:
Last reply:
Revision history for this message
Erik (erik-sm) said :
#1

i need a driver for dcp330c. From a fresh one - he-he...Erik

Revision history for this message
papawdalton (papawdalton) said :
#2

I'm sorry, I don't know how this answers my question. Maybe I wasn't clear in my request. I have a Brother model MFC 3220c and I can't get it to work on Ubuntu, is there any one out there that had the same problem but found a driver that worked. I'd appreciate any intelligent reply.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#3

You have to download the appropriate lpr and cups wrapper drivers:

http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc3320cnlpr-1.0.4-1.i386.deb
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc3320cn_1.0.0-2_i386.deb

For instance, I assume you download these to your ~/downloads directory. Change this in the following instructions if you download them to another directory.

Install them by:

1) Opening a Terminal (in Gnome: Menu->Accessories->Terminal)
2) Giving these commands in the terminal (give your normal password when asked):

sudo dpkg -i --force-all ~/downloads/mfc3320cnlpr-1.0.4-1.i386.deb
sudo dpkg -i --force-all ~/downloads/cupswrappermfc3320cn_1.0.0-2_i386.deb

Configure them by:

1) Opening your browser and entering this address: "http://localhost:631"
2) Clicking on “Manage Printers” and confirming that the device name is listed there.

If the device name is NOT listed there, click on "Add Printer" and install the driver following the on-screen instructions.
The default port is USB. If you want to use a different port, click on “Modify Printer” and select the required printer port.
You can change the print settings using the “Configure Printer” option in the CUPS web interface.

Revision history for this message
Cesare Tirabassi (norsetto) said :
#4

Sorry, in my previous post I included drivers for the 3320. The correct ones for your model (3220) are:

http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc3220clpr-1.0.4-1.i386.deb
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc3220c_1.0.0-2_i386.deb

Installation instructions are the same.

Revision history for this message
papawdalton (papawdalton) said :
#5

The instructions didn't work. Since I first posted this request I had
Kubuntu 7 installed, I since uninstalled that and installed Ubuntu Christian
Edition (Fiesty) The print install program
http://localhost:631/<http://localhost:631/>doesn't list my printer
model, if you try to browse to the driver you
downloaded it wants a PPD file, which the downloads you suggested didn't
contain, even after unpacking them down to the last file. I can double click
on the files you suggested below
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc3220clpr-1.0.4-1.i386.deb
http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc3220c_1.0.0-2_i386.deb
and it will go through an installation process. I can go to a text document
and select print, choose my printer, but doesn't print. You can go to the
print manager http://localhost:631/ <http://localhost:631/> and it doesn't
show it installed. There's got to be an easier way!!!
apart from going back to Windows.

On 5/27/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Cesare Tirabassi proposed the following answer:
> Sorry, in my previous post I included drivers for the 3320. The correct
> ones for your model (3220) are:
>
>
> http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/lpr_debian/mfc3220clpr-1.0.4-1.i386.deb
>
> http://solutions.brother.com/Library/sol/printer/linux/rpmfiles/cups_wrapper/cupswrappermfc3220c_1.0.0-2_i386.deb
>
> Installation instructions are the same.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#6

No,

double clicking will not install correctly the drivers. Try these commands in a terminal:

sudo apt-get install csh
sudo dpkg -i --force-all ~/downloads/cupswrappermfc3220c_1.0.0-2_i386.deb

I assume that the file you have downloaded is in a subdirectory of your home called downloads.
Substitute ~/downloads in the above commands with the directory YOU used.
For instance, if you downloaded to the Desktop, the right directory is ~/Desktop

Please report any error message, as exactly as you can, back here.

If you see a message like:

lpadmin: Unable to copy PPD file!

don't worry, as a matter of fact you should see the PPD file with this command:

ls /usr/share/cups/model

The output should contains brmfc3220c_cups.ppd
If it doesn't report back here.

If its there you can see your printer with Menu->System->Administration->Printing and configure it with Edit->Properties (printer must be on).

Thanks.

Revision history for this message
papawdalton (papawdalton) said :
#7

I downloaded the file to my desktop and ran the terminal commands as you
said and I copied the results from the terminal window. Here's what
happened:

im@jim-desktop:~$ sudo apt-get install csh
Password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
csh is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
jim@jim-desktop:~$ sudo dpkg -i --force-all
~/home/jim/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb
dpkg: error processing
/home/jim/home/jim/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /home/jim/home/jim/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb
jim@jim-desktop:~$

On 5/27/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> No,
>
> double clicking will not install correctly the drivers. Try these
> commands in a terminal:
>
> sudo apt-get install csh
> sudo dpkg -i --force-all ~/downloads/cupswrappermfc3220c_1.0.0-2_i386.deb
>
> I assume that the file you have downloaded is in a subdirectory of your
> home called downloads.
> Substitute ~/downloads in the above commands with the directory YOU used.
> For instance, if you downloaded to the Desktop, the right directory is
> ~/Desktop
>
> Please report any error message, as exactly as you can, back here.
>
> If you see a message like:
>
> lpadmin: Unable to copy PPD file!
>
> don't worry, as a matter of fact you should see the PPD file with this
> command:
>
> ls /usr/share/cups/model
>
> The output should contains brmfc3220c_cups.ppd
> If it doesn't report back here.
>
> If its there you can see your printer with
> Menu->System->Administration->Printing and configure it with
> Edit->Properties (printer must be on).
>
> Thanks.
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#8

Thanks.
The problem is the directory; the right command is:

sudo dpkg -i --force-all ~/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb

~ is an alias for the user's home directory (in your case /home/jim/).

Revision history for this message
papawdalton (papawdalton) said :
#9

I copied and pasted the command you just gave in a terminal window and this
is the results:

jim@jim-desktop:~$ sudo dpkg -i --force-all
~/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb
(Reading database ... 107966 files and directories currently installed.)
Preparing to replace cupswrappermfc3220c 1.0.0-2 (using
.../cupswrappermfc3220c_1.0.0-2_i386.deb) ...
/etc/init.d/cups: Command not found.
Unpacking replacement cupswrappermfc3220c ...
Setting up cupswrappermfc3220c (1.0.0-2) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC3220C
/etc/init.d/cups: Command not found.
lpadmin: Unable to copy PPD file!

jim@jim-desktop:~$

I can type "sudo dpkg -i --force-all ~" in a command window then drag and
drop the driver package behind the command prompt and the path will complete
and start the same installation program used when double clicking the
package from the desktop. If you open a document and go to print, everything
works like it's suppose to as far as the print dialog but the printer
doesn't print, even though the print properties says it is. It's not the
printer, because I use it in Windows too. According to the terminal results
above it's not loading or finding the PPD file.

On 5/27/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Thanks.
> The problem is the directory; the right command is:
>
> sudo dpkg -i --force-all ~/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb
>
> ~ is an alias for the user's home directory (in your case /home/jim/).
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
papawdalton (papawdalton) said :
#10

I copied and pasted the command you just gave in a terminal window and this
is the results:

jim@jim-desktop:~$ sudo dpkg -i --force-all ~/Desktop/cupswrappermfc3220c
_1.0.0-2_i386.deb
(Reading database ... 107966 files and directories currently installed.)
Preparing to replace cupswrappermfc3220c 1.0.0-2 (using
.../cupswrappermfc3220c_1.0.0-2_i386.deb) ...
/etc/init.d/cups: Command not found.
Unpacking replacement cupswrappermfc3220c ...
Setting up cupswrappermfc3220c ( 1.0.0-2) ...
rm -f /usr/lib/cups/filter/brlpdwrapperMFC3220C
/etc/init.d/cups: Command not found.
lpadmin: Unable to copy PPD file!

jim@jim-desktop:~$

I can type "sudo dpkg -i --force-all ~" in a command window then drag and
drop the driver package behind the command prompt and the path will complete
and start the same installation program used when double clicking the
package from the desktop. If you open a document and go to print, everything
works like it's suppose to as far as the print dialog but the printer
doesn't print, even though the print properties says it is. It's not the
printer, because I use it in Windows too. According to the terminal results
above it's not loading or finding the PPD file.

On 5/27/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Thanks.
> The problem is the directory; the right command is:
>
> sudo dpkg -i --force-all ~/Desktop/cupswrappermfc3220c_1.0.0-2_i386.deb
>
> ~ is an alias for the user's home directory (in your case /home/jim/).
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=7
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#11

As I said before, don't worry about the message:

lpadmin: Unable to copy PPD file!

You can check if the PPD file was installed with this command:

ls /usr/share/cups/model

The output should contains brmfc3220c_cups.ppd

If it doesn't report back here.

This message is also normal:

/etc/init.d/cups: Command not found.

The installer from Brother is trying to restart the cups daemon, but in Ubuntu the right command is:

sudo /etc/init.d/cupsys restart

You can now see your printer with Menu->System->Administration->Printing and configure it with Edit->Properties (printer must be on).

Thanks.

Revision history for this message
papawdalton (papawdalton) said :
#12

I did everything you said and everything happened as you said it would, but,
anytime I go to print anything,the digital display on the printer will say
it is "receiving data" but never print. I went Menu->System->Administration-
>Printing
and configured it with Edit->Properties and made sure it was configured
right. Again, this same printer works with Win XP, but not here.
Thank you for all your help, you've been patient, but I think I'll call it
quits and try a different printer.

On 5/28/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> As I said before, don't worry about the message:
>
> lpadmin: Unable to copy PPD file!
>
> You can check if the PPD file was installed with this command:
>
> ls /usr/share/cups/model
>
> The output should contains brmfc3220c_cups.ppd
>
> If it doesn't report back here.
>
> This message is also normal:
>
> /etc/init.d/cups: Command not found.
>
> The installer from Brother is trying to restart the cups daemon, but in
> Ubuntu the right command is:
>
> sudo /etc/init.d/cupsys restart
>
> You can now see your printer with Menu->System->Administration->Printing
> and configure it with Edit->Properties (printer must be on).
>
> Thanks.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=10
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#13

We can do some debugging to see what went wrong, but of course I need your cooperation.
Its not difficult, we just need to switch debugging mode on and check the error log.
If you still want to give it a try, just let me know.

Revision history for this message
papawdalton (papawdalton) said :
#14

Sure, let's give it a try.

On 5/28/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> We can do some debugging to see what went wrong, but of course I need your
> cooperation.
> Its not difficult, we just need to switch debugging mode on and check the
> error log.
> If you still want to give it a try, just let me know.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=12
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#15

Okki dokki,

first, lets find out which PPD is in use.

Go to this this address with your browser:

http://localhost:631/printers/brmfc3220c_cups.ppd

Can you paste here the first 25 or so lines?

I'm particularly interested in these fields:

*PCFileName
*Manufacturer
*Product
*ModelName
*ShortNickName
*NickName

Second, lets switch debugging mode on:

Edit this file: /etc/cups/cupsd.conf (for instance with sudo gedit if in Gnome or sudo kate if in Kubuntu)

And change the loglevel line from:

LogLevel warning

To:

LogLevel debug

Save and restart the cups daemon (sudo /etc/init.d/cupsys restart).

Now, try printing something small and paste here afterwards this file:

/var/log/cups/error_log

Revision history for this message
papawdalton (papawdalton) said :
#16

On 5/28/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> Okki dokki,
>
> first, lets find out which PPD is in use.
>
> Go to this this address with your browser:
>
> http://localhost:631/printers/brmfc3220c_cups.ppd
>
> Can you paste here the first 25 or so lines?

    This is all I got:

404 Not Found

Check the attached screen shot.

I'm particularly interested in these fields:
>
> *PCFileName
> *Manufacturer
> *Product
> *ModelName
> *ShortNickName
> *NickName
>
> Second, lets switch debugging mode on:
>
> Edit this file: /etc/cups/cupsd.conf (for instance with sudo gedit if in
> Gnome or sudo kate if in Kubuntu)
>
> And change the loglevel line from:
>
> LogLevel warning
>
> To:
>
> LogLevel debug
>
> Save and restart the cups daemon (sudo /etc/init.d/cupsys restart).
>
> Now, try printing something small and paste here afterwards this file:
>
> /var/log/cups/error_log
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
papawdalton (papawdalton) said :
#17

I ran into a problem editing the cupsd.conf file, it's read only and I can't
gain permission to change it, the controls are grayed out and I get a notice
saying I'm not the owner. The file system properties shows an "unknown
owner" and I can't figure out to change it. I've tried changing things in
"Users & Groups" with no luck. There's probably a terminal command to do it
but I'm not up on Unix commands.

On 5/28/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> Okki dokki,
>
> first, lets find out which PPD is in use.
>
> Go to this this address with your browser:
>
> http://localhost:631/printers/brmfc3220c_cups.ppd
>
> Can you paste here the first 25 or so lines?
>
> I'm particularly interested in these fields:
>
> *PCFileName
> *Manufacturer
> *Product
> *ModelName
> *ShortNickName
> *NickName
>
> Second, lets switch debugging mode on:
>
> Edit this file: /etc/cups/cupsd.conf (for instance with sudo gedit if in
> Gnome or sudo kate if in Kubuntu)
>
> And change the loglevel line from:
>
> LogLevel warning
>
> To:
>
> LogLevel debug
>
> Save and restart the cups daemon (sudo /etc/init.d/cupsys restart).
>
> Now, try printing something small and paste here afterwards this file:
>
> /var/log/cups/error_log
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#18

Re. editing the file, try right clicking on it in your file manager and choose the option "Open with gksudo".

Concernin the 404 error, we cannot unfortunately see attachments here, but you said that there is a ppd file in the folder /usr/share/cups/model or have I misunderstood?

Revision history for this message
papawdalton (papawdalton) said :
#19

It won't open with gksudo, it acts like somethings going to happen but
nothing appears. You've misunderstood, I said I've never been able to find a
PPD file, not by unpacking the driver package or in the system PPD folder.
My biggest head scratch right now is how to gain administrative permission
to my system files, I figured that would automatically happen during setup.
I went to Brother's page for Linux drivers and they had two categories, one
for Debian and the other for Red Hat and some other distros., I'm wondering
if I'm in the wrong category, and try the one for Red Hat. What do you
think?

On 5/29/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> Re. editing the file, try right clicking on it in your file manager and
> choose the option "Open with gksudo".
>
> Concernin the 404 error, we cannot unfortunately see attachments here,
> but you said that there is a ppd file in the folder
> /usr/share/cups/model or have I misunderstood?
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#20

We use the Debian packaging system.

Revision history for this message
papawdalton (papawdalton) said :
#21

I've discovered the problem with installing the drivers for this printer. It
lies in not having ownership of system files and folders. I found some PPD
files in my tmp folder, which shows me as owner, but when I tried to copy
them to the PPD folder it said I didn't have permission, that's because the
folder is write protected. I was able to edit the cupsys.conf file using
sudo -i in a terminal window (still didn't print) but I'm still having a
problem changing ownership of my system files to where I don' have to log in
as root. It may be that I need to reinstall the os and see if there is if is
something I missed. Or maybe this is a bug that needs fixed. Are you aware
of a more manual installation to where I can secure ownership, and if so,
what to look for?

On 5/30/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> We use the Debian packaging system.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=19
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#22

You are quickly becoming a guru :)
Have you checked this page:

https://help.ubuntu.com/community/RootSudo

It should explain everything about superuser in Ubuntu.

This is why I asked you to use this command:

sudo dpkg -i --force-all ~/downloads/cupswrappermfc3220c_1.0.0-2_i386.deb

which, by the way, I've tested before and works as expected on my machine.
Let's see what permissions you have, for instance for /usr/share/cups/model.
Type this command in a terminal:

ls -l /usr/share/cups/model

it should be something like:

lrwxrwxrwx 1 root root 16 2007-03-13 13:14 custom -> ../../ppd/custom
lrwxrwxrwx 1 root root 14 2007-05-18 15:31 foomatic-ppds -> /usr/share/ppd

So, you see, it is owned by root but everybody has read/write and execute permissions.
The directory itself:

drwxr-xr-x 2 root root 4096 2007-05-27 21:57 model

Everybody can read and execute, but to write in it you need to be root.

Revision history for this message
papawdalton (papawdalton) said :
#23

Here's the results of ls -l /usr/share/cups/model
jim@jim-desktop:~$ ls -l /usr/share/cups/model
total 28
-rwxrwxrwx 1 root root 6363 2005-11-24 18:15 brfax_cups.ppd
-rw-r--r-- 1 root root 19886 2007-05-28 08:00 brmfc3220c_cups.ppd
lrwxrwxrwx 1 root root 16 2007-05-18 14:29 custom -> ../../ppd/custom
jim@jim-desktop:

Here's the results of the same command after logging in as root:

 jim@jim-desktop:~$ sudo -i
Password:
root@jim-desktop:~# ls -l /usr/share/cups/model
total 28
-rwxrwxrwx 1 root root 6363 2005-11-24 18:15 brfax_cups.ppd
-rw-r--r-- 1 root root 19886 2007-05-28 08:00 brmfc3220c_cups.ppd
lrwxrwxrwx 1 root root 16 2007-05-18 14:29 custom -> ../../ppd/custom
root@jim-desktop:~#

What do you make of it all?

On 6/1/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> You are quickly becoming a guru :)
> Have you checked this page:
>
> https://help.ubuntu.com/community/RootSudo
>
> It should explain everything about superuser in Ubuntu.
>
> This is why I asked you to use this command:
>
> sudo dpkg -i --force-all
> ~/downloads/cupswrappermfc3220c_1.0.0-2_i386.deb
>
> which, by the way, I've tested before and works as expected on my machine.
> Let's see what permissions you have, for instance for
> /usr/share/cups/model.
> Type this command in a terminal:
>
> ls -l /usr/share/cups/model
>
> it should be something like:
>
> lrwxrwxrwx 1 root root 16 2007-03-13 13:14 custom -> ../../ppd/custom
> lrwxrwxrwx 1 root root 14 2007-05-18 15:31 foomatic-ppds -> /usr/share/ppd
>
> So, you see, it is owned by root but everybody has read/write and execute
> permissions.
> The directory itself:
>
> drwxr-xr-x 2 root root 4096 2007-05-27 21:57 model
>
> Everybody can read and execute, but to write in it you need to be root.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=21
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#24

Looks good to me, where is the problem?

Revision history for this message
papawdalton (papawdalton) said :
#25

Printer wont print.

On 6/1/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> Looks good to me, where is the problem?
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=23
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#26

Yeah, you told me that. I meant, what is the permission problem you were talking about? All seem well from the info you gave me?
I could also see that your ppd file is there, so thats not the issue.

Revision history for this message
papawdalton (papawdalton) said :
#27

Well, I think I'll give up for now on the printer problem. As far as
permissions go I'd like to have the same authority over the file sysem as
'root', without having to use a terminal window to edit a system file. I've
trie to use 'chown' in a terminal window in as many different ways I could
find and understand the explaination, and I can't accomplish that. What
would be an example of what you would do in a terminal window to do that,
say, if the user is jim and the group is jim and you want root authority ?
That is, change everything to where, if you wanted to change the properties
of any file from 'read only' to 'read and write' nothing would be grayed out
and nothing come up and say "you can't do that" ?

On 6/3/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Needs information
>
> Cesare Tirabassi requested for more information:
> Yeah, you told me that. I meant, what is the permission problem you were
> talking about? All seem well from the info you gave me?
> I could also see that your ppd file is there, so thats not the issue.
>
> _______________________________________________________________________
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
Best Cesare Tirabassi (norsetto) said :
#28

If you give this command in a terminal:

sudo chmod -R a+rw /

Every user on your machine will have read and write permission on every file/directory.

THIS IS VERY DANGEROUS AND YOU ARE LIKELY TO MAKE MAJOR DAMAGES TO YOUR SYSTEM.

I usually test commands I have never tried myself before advising others to use them, but this one I won't test ........

Revision history for this message
papawdalton (papawdalton) said :
#29

Thanks for the Info and the warning, but I'm not worried about hurting the
system. I'm in the process of weaning myself away from Windows. I have been
for awhile, trying one distro after another until I can find one I think I
can stay with long enough to become as knowledgeable with the Linux OS in
general as I am with Windows. I'm not happy with Microsoft for different
reasons that would take too long to go into. My brother is a Unix
administrator for the Army, but trying to learn anything from him is
sometimes like pulling teeth, so I'm doing the best I can on my own. Most
books I try to read on the subject are hard to understand and I find that I
learn the best at the "school of hard knocks".
I appreciate all the time you've spent here and I guess I'd better bring my
question on this forum to a close before I use up all the web space. It wont
be long and I'll be back for more information for one thing or another.
Thanks again Cesare.

On 6/3/07, Cesare Tirabassi <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Open => Answered
>
> Cesare Tirabassi proposed the following answer:
> If you give this command in a terminal:
>
> sudo chmod -R a+rw /
>
> Every user on your machine will have read and write permission on every
> file/directory.
>
> THIS IS VERY DANGEROUS AND YOU ARE LIKELY TO MAKE MAJOR DAMAGES TO YOUR
> SYSTEM.
>
> I usually test commands I have never tried myself before advising others
> to use them, but this one I won't test ........
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=27
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>

Revision history for this message
papawdalton (papawdalton) said :
#30

Thanks for all your help, I learned a lot in the process.

Revision history for this message
papawdalton (papawdalton) said :
#31

How do you undo this command: sudo chmod -R a+rw /

On 6/3/07, papawdalton <email address hidden> wrote:
>
> Your question #6545 on kde-systemsettings in ubuntu changed:
>
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Status: Answered => Open
>
> You are still having a problem:
> Thanks for the Info and the warning, but I'm not worried about hurting the
> system. I'm in the process of weaning myself away from Windows. I have
> been
> for awhile, trying one distro after another until I can find one I think I
> can stay with long enough to become as knowledgeable with the Linux OS in
> general as I am with Windows. I'm not happy with Microsoft for different
> reasons that would take too long to go into. My brother is a Unix
> administrator for the Army, but trying to learn anything from him is
> sometimes like pulling teeth, so I'm doing the best I can on my own. Most
> books I try to read on the subject are hard to understand and I find that
> I
> learn the best at the "school of hard knocks".
> I appreciate all the time you've spent here and I guess I'd better bring
> my
> question on this forum to a close before I use up all the web space. It
> wont
> be long and I'll be back for more information for one thing or another.
> Thanks again Cesare.
>
>
> On 6/3/07, Cesare Tirabassi <email address hidden> wrote:
> >
> > Your question #6545 on kde-systemsettings in ubuntu changed:
> >
> >
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
> >
> > Status: Open => Answered
> >
> > Cesare Tirabassi proposed the following answer:
> > If you give this command in a terminal:
> >
> > sudo chmod -R a+rw /
> >
> > Every user on your machine will have read and write permission on every
> > file/directory.
> >
> > THIS IS VERY DANGEROUS AND YOU ARE LIKELY TO MAKE MAJOR DAMAGES TO YOUR
> > SYSTEM.
> >
> > I usually test commands I have never tried myself before advising others
> > to use them, but this one I won't test ........
> >
> > _______________________________________________________________________
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545/+confirm?answer_id=27
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> >
> >
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
> >
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#32

You don't.

Revision history for this message
papawdalton (papawdalton) said :
#33

Well, you warned me. It did cause some programs not to work. But
that's ok, I'm going to try another distro , the KDE version of the
same thing. If someone else asks to do the same thing I did you can
tell them from my experience it will cause problems. Thanks for a
quick reply.
 One more thing, off the subject, I tried to run SimplyMepis from the
CD and it got to where you had to give a user name and password, they
suggested "demo" which I used then after a long introduction to the
program it ended in another prompt giving you no clue as to how to
start the system in real mode. I don't suppose you've had any
experience with this distro?

On 6/8/07, Cesare Tirabassi <email address hidden> wrote:
> Your question #6545 on kde-systemsettings in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/kde-systemsettings/+question/6545
>
> Cesare Tirabassi posted a new comment:
> You don't.
>

Revision history for this message
Cesare Tirabassi (norsetto) said :
#34

Sorry, I have no experience at all with SimpleMepis.

What they say here http://www.mepis.org/docs/en/index.php/Single-Boot_System is that demo is basically just to test if everything is ok, especially HW detection (I guess this is just a LiveCD boot). To install it you have to go to step 3.