LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-18-2003, 05:06 PM   #1
downinthemine
Member
 
Registered: Jul 2003
Location: Silver Spring, MD
Distribution: Xubuntu
Posts: 167

Rep: Reputation: 30
Firebird won't run as user


When I run Firebird by typing:
./usr/local/MozillaFirebird/MozillaFirebird

as root, it runs fine.
When I run it as user, it doesn't.

Any ideas? I just installed slack, this was never an issue under mandrake.
Andy
 
Old 12-18-2003, 05:16 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
ls -l /usr/local/MozillaFirebird/



Cheers,
Tink
 
Old 12-18-2003, 05:37 PM   #3
downinthemine
Member
 
Registered: Jul 2003
Location: Silver Spring, MD
Distribution: Xubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Here is the output. I should mention that when I run it as user, I do not get a message saying I don't have the proper permissions to run it. I get the prompt back.

total 4052
-rwxrwxr-x 1 8482 501 2765 Oct 7 20:59 MozillaFirebird*
-rwxrwxr-x 1 8482 501 62684 Oct 7 21:00 MozillaFirebird-bin*
drwx------ 3 root root 584 Dec 18 22:35 chrome/
drwx------ 2 root root 6240 Dec 18 22:36 components/
drwx------ 5 root root 128 Dec 18 21:50 defaults/
drwx------ 2 root root 112 Dec 18 22:35 icons/
-rwxrwxr-x 1 8482 501 163584 Oct 7 21:00 libgkgfx.so*
-rwxrwxr-x 1 8482 501 113156 Oct 7 21:00 libgtkembedmoz.so*
-rwxrwxr-x 1 8482 501 18564 Oct 7 21:00 libgtksuperwin.so*
-rwxrwxr-x 1 8482 501 12724 Oct 7 21:00 libgtkxtbin.so*
-rwxrwxr-x 1 8482 501 112500 Oct 7 21:00 libjsj.so*
-rwxrwxr-x 1 8482 501 517448 Oct 7 21:00 libmozjs.so*
-rwxrwxr-x 1 8482 501 53224 Oct 7 21:00 libmozz.so*
-rwxrwxr-x 1 8482 501 208492 Oct 7 21:00 libnspr4.so*
-rwxrwxr-x 1 8482 501 435544 Oct 7 21:00 libnss3.so*
-rwxrwxr-x 1 8482 501 179796 Oct 7 21:00 libnssckbi.so*
-rwxrwxr-x 1 8482 501 16032 Oct 7 21:00 libplc4.so*
-rwxrwxr-x 1 8482 501 10124 Oct 7 21:00 libplds4.so*
-rwxrwxr-x 1 8482 501 149384 Oct 7 21:00 libsmime3.so*
-rw-rw-r-- 1 8482 501 476 Oct 7 21:00 libsoftokn3.chk
-rwxrwxr-x 1 8482 501 455028 Oct 7 21:00 libsoftokn3.so*
-rwxrwxr-x 1 8482 501 136736 Oct 7 21:00 libssl3.so*
-rwxrwxr-x 1 8482 501 47208 Oct 7 21:00 libxlibrgb.so*
-rwxrwxr-x 1 8482 501 1013732 Oct 7 21:00 libxpcom.so*
-rwxrwxr-x 1 8482 501 123724 Oct 7 21:00 libxpcom_compat.so*
-rwxrwxr-x 1 8482 501 14596 Oct 7 21:00 libxpistub.so*
-rwxrwxr-x 1 8482 501 5004 Oct 7 21:00 mangle*
-rwxrwxr-x 1 8482 501 9276 Oct 7 21:00 mozilla-xremote-client*
drwx------ 2 root root 80 Dec 18 22:35 plugins/
-rwxrwxr-x 1 8482 501 15212 Oct 7 21:00 regchrome*
-rwxrwxr-x 1 8482 501 81984 Oct 7 21:00 regxpcom*
drwx------ 8 root root 1832 Dec 18 22:35 res/
-rwxrwxr-x 1 8482 501 10998 Apr 18 2003 run-mozilla.sh*
drwx------ 2 root root 112 Dec 18 22:35 searchplugins/
-rwxrwxr-x 1 8482 501 70564 Oct 7 21:00 shlibsign*
-rwxrwxr-x 1 8482 501 4012 Oct 7 21:00 timebombgen*
-rwxrwxr-x 1 8482 501 29204 Oct 7 21:00 xpicleanup*
 
Old 12-18-2003, 06:32 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The problem is the permissions on the subdirectories,
I'd say ... try
Code:
find /usr/local/MozillaFirebird/ -type d -exec chmod go+rx {} \;
find /usr/local/MozillaFirebird/ -type f -exec chmod go+r {} \;
If that doesn't fix it look at the subdirectories, check
whether any files in there might need to be executable,
too...

Cheers,
Tink
 
Old 12-18-2003, 08:17 PM   #5
downinthemine
Member
 
Registered: Jul 2003
Location: Silver Spring, MD
Distribution: Xubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
That did it! Thanks. Could you explain to me exactly what I did just there. I gather I searched those subdirectories to change the permissions on all the directors and executables therein, what is "{} \:"?
 
Old 12-18-2003, 08:47 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
man find

:}


What you did is
Code:
find <subdirectory to start with> -type d -exec chmod go+rx {} ;\
                                  ^^^^^^^ ^^^^^             ^^^^^
                                  all files   |                 |
                                  that are    |                 |
                                  directories |                 |
                                              |                 |
                                           tells find    part of exec,
                                           to do the     it's the placeholder
                                           next command  for the name of the
                                           with every    found file, plus the
                                           match         termination of the exec
                                                         statement
Find is one of my all-time favourites ;)
So powerful...

Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM
Run as user? redhatnoob Programming 1 08-18-2004 09:12 PM
Firebird, Flashplayer, No Sound/Audio as User Texicle Linux - Software 2 01-19-2004 10:08 PM
can't run firebird as user dibblethewrecke VectorLinux 3 01-07-2004 06:26 AM
firebird flash problem when logged in as user (but not as root) thegreatgatsby Linux - Software 3 11-20-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration