LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-25-2009, 08:47 AM   #1
wolvinedragon
LQ Newbie
 
Registered: Sep 2009
Location: NM
Distribution: Searching
Posts: 10

Rep: Reputation: 0
Permissions issue? Unable to create items in different areas of filesystem.


Hey there, I have finally installed Ubuntu Netbook Remix on a HP 1030NR and am trying to get it to work for my wife.

I have successfully installed Flash for firefox, working ok.
I have downloaded java to the desktop (default save location)

The instructions on the java page are telling me to make a .bin file executable (done), run it in a folder such as /usr/. I am unable to create any folders in this area, logged in as the only user on the computer.

I did create a directory in (/home/<username>/) naming it java. I copied the file from the desktop to there, changed permission to enable execution in the gui menu, and ran the file from the terminal. The file extracted how it was supposed to.

Next, I am told to create a .so file in the firefox plugins directory. I get access denied error when I use (ln -s /home/<username>/java/jre1.6.0_16/plugin/i386/ns7/libjavaplugin_oji.so) from the firefox plugin directory.

I noticed I also have no permissions to create or modify items in this directory.

So the root of the question would be "how the heck do I give myself permission to edit system directories"

Thanks in advance.
 
Old 09-25-2009, 08:50 AM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
So the root of the question would be "how the heck do I give myself permission to edit system directories"
EDIT: I removed the chmod command to prevent any mishaps.

Please note, that if you edit system directories or change their permission, many times this could be hazardous since they expect their default permission settings. What you can do is use "sudo" before a command to gain temporary root privilege.

Btw, please use synaptic [Syste,m->Administration] and search for softwares, e.g.-> java, and then install.

Last edited by ~sHyLoCk~; 09-25-2009 at 08:55 AM.
 
Old 09-25-2009, 09:10 AM   #3
wolvinedragon
LQ Newbie
 
Registered: Sep 2009
Location: NM
Distribution: Searching
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ~sHyLoCk~ View Post
Btw, please use synaptic [Syste,m->Administration] and search for softwares, e.g.-> java, and then install.
Ok, I looked through Synaptic Package Manager, searching for java in names and descriptions. All I got was:
libgtksourceview2.0-common
libgtksourceview-common
gdb
britty
libdbus-1-3
dbus

the descriptions range from a syntax highliting widget to a debugger, to a braille program, to a messaging system.

I tried browsing the sections one bit at a time and got even more confused... such as there being 4 sections of communication with multiverse, restricted, and universe as alternate sections.

Just when I think Linux is looking easier, it throws another oddball at me (and I'm sure the above is nothing compared with what knowledgable Linux users do). I'm gonna start looking for some courses in Linux so I don't flood the forums here.
 
Old 09-25-2009, 09:35 AM   #4
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Hi! wolvinedragon, you might need to enable your repositories.
Just read a bit about it here and you will learn+figure out the solution yourself.

Repositories
Medibuntu
Restricted Formats

This will help you get all the audio, video codecs and a lot more! Trust me Linux isn't that hard so don't give up.
 
Old 09-25-2009, 10:13 AM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,218

Rep: Reputation: 231Reputation: 231Reputation: 231
wolvinedragon,

Quote:
So the root of the question would be "how the heck do I give myself permission to edit system directories"
There is no need to do that; if install calls for something like this request somewhere something is wrong in the first place. There is a .deb install package for java and it should save you from building the package itself. Just use google. Ubuntu has excellent repos too. Or you may try install open office suite this will use install java for its need.
-------x

Quote:
I tried browsing the sections one bit at a time and got even more confused... such as there being 4 sections of communication with multiverse, restricted, and universe as alternate sections.
Use the Search window or Press Ctl+F at Synaptic, enter your searching word, this will save you time.
--------x

Quote:
Just when I think Linux is looking easier, it throws another oddball at me (and I'm sure the above is nothing compared with what knowledgable Linux users do). I'm gonna start looking for some courses in Linux so I don't flood the forums here.
Nice attitude. You will learn much reading offline, download this Tutorial. There are also good learning sites for linux commands, and a lot more in this rich site.

Hope this helps.
Good luck.
 
Old 09-26-2009, 11:53 AM   #6
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Not sure if this will work for you, but it did for me:
Navigate to this page.
Firefox will complain about missing plug ins, install them

Yes, it's that easy
 
Old 09-26-2009, 12:30 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
It's in synaptic. Start synaptic, left click the first entry in the top-right pane (2vcard); start typing sun-java6; the first entry is sun-java6-bin

I have installed sun-java6-bin and sun-java6-jre. I've also installed sun-java6-jdk but unless you want to do development, you probably don't need it. There is also sun-java6-plugin which probably is what you're are looking for for use with webbrowsers.
It will probably be enough to only install the latter if you need it for the webbrowsers; other stuff will automatically be installed if necessary.

PS You're not the only one who was looking for it; it took me a while till I got clever enough to realize that it came from sun
 
  


Reply

Tags
java, permissions, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Unable to add toolbar items to posts unixfool LQ Suggestions & Feedback 2 05-07-2009 11:02 AM
Dynamips issue!!! "Hypervisor: unable to create TCP sockets" pvandyk2005 Slackware 1 07-25-2008 07:56 AM
Create Trash folder for items deleted by users on server dmm1673 Linux - Newbie 2 02-07-2007 11:42 AM
How to create kde menu items safenet Linux - Desktop 2 12-19-2006 10:10 AM
Customise KDE Konqueror 'Create New' items Mr T Donegal Linux - Software 1 12-09-2004 03:22 AM


All times are GMT -5. The time now is 09:54 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration