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: need user permittions, need user permittions over /opt< Next Oldest | Next Newest >
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: May 02 2006,15:24 QUOTE

He just did ???

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
mannetje Offline





Group: Members
Posts: 15
Joined: April 2006
Posted: May 02 2006,17:28 QUOTE

Quote (doobit @ May 02 2006,11:24)
He just did ???

no he didn't i just need to know exactly what i have to enter in the console, the exact code which i just could copy and paste into my console because i just don't know anything about the console shit...
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 02 2006,17:52 QUOTE

sudo chmod 775 /opt

As long as /opt is still owned by root.staff (which it should be on a clean system) then user dsl, who is a member of "staff" group, will be able to write to /opt.  If the ownership of /opt has somehow been changed to root.root (from a poorly-made mydsl, for example) you can do sudo chown root.staff /opt to fix it. If you need to have write access to subdirectories inside /opt, they would need to be created by user dsl after the chmod command is run, or else they would need to be individually chmoded afterward.  

Some might say you could chmod /opt recursively, but that's a bad idea unless you know exactly what you're doing, or want to use a more complex command to chmod only the directories.

In any case, whiteweasel did explain how to chmod a file, and recommended some important documatation.  It would benefit you more in the future if you learned what you're doing and why you're doing it rather than just pasting commands.  Just an opinion.


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





Group: Members
Posts: 15
Joined: April 2006
Posted: May 02 2006,18:30 QUOTE

Quote (mikshaw @ May 02 2006,13:52)
sudo chmod 775 /opt

As long as /opt is still owned by root.staff (which it should be on a clean system) then user dsl, who is a member of "staff" group, will be able to write to /opt.  If the ownership of /opt has somehow been changed to root.root (from a poorly-made mydsl, for example) you can do sudo chown root.staff /opt to fix it. If you need to have write access to subdirectories inside /opt, they would need to be created by user dsl after the chmod command is run, or else they would need to be individually chmoded afterward.  

Some might say you could chmod /opt recursively, but that's a bad idea unless you know exactly what you're doing, or want to use a more complex command to chmod only the directories.

In any case, whiteweasel did explain how to chmod a file, and recommended some important documatation.  It would benefit you more in the future if you learned what you're doing and why you're doing it rather than just pasting commands.  Just an opinion.

thx but already some friend helped me out, anyway thx for your help...
Back to top
Profile PM 
8 replies since May 01 2006,19:22 < 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: need user permittions

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