Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Creating a folder in /Opt, Newbie here< Next Oldest | Next Newest >
jnymris Offline





Group: Members
Posts: 16
Joined: April 2007
Posted: April 09 2007,09:11 QUOTE

Hello everyone.

I'm totaly new first time linux users. I've install LAMPP but cannot create a folder in /opt/LAMPP/htdocs/

It says Permission Denied but when i click on persmission and set them it says chmod: /opt/LAMPP/htdocs :operation not permitted


I'm also having problems installing most software. does anyone have a guide of the different ways to install because
tar xvfz (filename) -C /opt

doesn't work.

Thanks and sorry if i didn't make any sense. I'd be very greatful if i recieved very simple (detailed) answers

I'm looking forward to using linux

-Johnny


--------------

First impression of DSL: THE BEST
Second impression: pretty hard to work :(
Back to top
Profile PM WEB AOL MSN 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: April 09 2007,11:57 QUOTE

If you don't have permissions, then become God (alias root) with sudo su. There you are Bruce All Mighty.

Install with
Quote
mydsl-load extension4.dsl
It recognizes the format (dsl/tar.gz/uci/unc) and invokes the correct code. But if you want to go manual with .dsl's and .tar.gz's, the syntax would be
tar -C /opt -xvzf (filename)
    -C first     and nothing after f


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 09 2007,14:46 QUOTE

Keep in mind that if your mydsl package is unc or uci, you will not be able to write to the program directory no matter who you are or what kind of deity you know. These packages are mounted iso files and therefore the filesystem itself is read-only.

In the great wide unix world, tar.gz is used as a filename extension for any gzipped tar file. However, if it is a mydsl package, DSL handles it like any other mydsl, as curaga said, and it can actually be a bad idea to extract it manually.
Note that most tar.gz programs that aren't obtained through mydsl are source code packages, which are not very useful to a typical user running DSL without gcc/make


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jnymris Offline





Group: Members
Posts: 16
Joined: April 2007
Posted: April 09 2007,23:36 QUOTE

Quote (mikshaw @ April 09 2007,10:46)
Keep in mind that if your mydsl package is unc or uci, you will not be able to write to the program directory no matter who you are or what kind of deity you know. These packages are mounted iso files and therefore the filesystem itself is read-only.

In the great wide unix world, tar.gz is used as a filename extension for any gzipped tar file. However, if it is a mydsl package, DSL handles it like any other mydsl, as curaga said, and it can actually be a bad idea to extract it manually.
Note that most tar.gz programs that aren't obtained through mydsl are source code packages, which are not very useful to a typical user running DSL without gcc/make

How do i know if it is unc or uci? I'm not trying to create a folder in Aterminal i', trying to created a folder in Emelfm i don't know how to create a folder using ATerminal,

I've tried to use that code to install a package but also it never worked o i'm gussin it unc or uci wht i mean using then?

BTW the main reason i want to create a folder their is so i can store files so it would have to be a permament way of ensuring icould place files in their and not having to type sudo all the time  :(

Sorry, i hope someone can provide more light.

Like i said i'm totaly new to linux

(i did install LAMPP okay though?)


--------------

First impression of DSL: THE BEST
Second impression: pretty hard to work :(
Back to top
Profile PM WEB AOL MSN 
jnymris Offline





Group: Members
Posts: 16
Joined: April 2007
Posted: April 11 2007,13:24 QUOTE

Could someone please help? I'm still not getting the answer i want, basicaly i want t get admin access al the time so i can create files in restricted areas such as /opt/LAMPP

without typing sudo su

so i can create files from Emlfe and not having to create files in the home direcary or Using the ATermial.


--------------

First impression of DSL: THE BEST
Second impression: pretty hard to work :(
Back to top
Profile PM WEB AOL MSN 
8 replies since April 09 2007,09:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Creating a folder in /Opt

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code