alexgabriel at dimensiadesign.com
Thu Nov 17 02:03:34 UTC 2011
I think the simplest way to locate the file is using the command "cd /" and then "find . -iname firefox" to locate the file.
You can put it all together by using
"sudo find . -iname firefox -print0 | xargs -0 chown -R yourusername:"
This will search the current directory and all subdirectories for any files/directories named firefox and change both the user and group to the "yourusername" variable.
Give that a try, it's probably the fastest way to do it.
If you want to test it beforehand, use everything before | and that will show you the various matches to the string.
When you've got your results, you can use "file filename" to view the file type. The one you want is a binary file.
Hope this helps.
Sent from my BlackBerry device on the Rogers Wireless Network
From: Bruce Marshall <bmarsh at bmarsh.com>
Sender: kubuntu-users-bounces at lists.ubuntu.com
Date: Wed, 16 Nov 2011 19:55:07
To: <kubuntu-users at lists.ubuntu.com>
Reply-To: Kubuntu user technical support <kubuntu-users at lists.ubuntu.com>
Subject: Re: Firefox 3.6
On Thursday, November 17, 2011 07:23:31 AM Bruce Marshall wrote:
> I have done the above but unable to find /opt/firefox/ see below
> output from terminal-
> rayburke at rayburke-desktop:~$ sudo chown -R rayburke.rayburke /opt/firefox/
> [sudo] password for rayburke:
> chown: cannot access `/opt/firefox/': No such file or directory
> rayburke at rayburke-desktop:~$
If you were trying to issue the command I gave:
sudo chown -R rayburke.rayburke /opt/firefox/
and you got that "no file" error message, then you must have installed
firefox somewhere else.....
ls -la /opt/ and see what you get.
kubuntu-users mailing list
kubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
More information about the kubuntu-users