Cigar Asylum Cigar Forum  

Go Back   Cigar Asylum Cigar Forum > Non Cigar Specialty Forums > Misc > General Discussion

Reply
 
Thread Tools Display Modes
Old 02-04-2009, 02:28 PM   #1
Volt
I'm nuts for the place
 
Volt's Avatar
 
Join Date: Oct 2008
Posts: 2,799
Trading: (19)
ERdM Navy (Retired)
Volt has disabled reputation
Default Need linux help

Running Ubuntu Server, Gnome desktop. LAMP running. I have a file I need to copy to /var/www/ Will not let me. Most prolly a permissions issue. I am the owner of the .trz so I'm thinking the www folder is the issue. I can't change any of the permission settings of www as I'm not the owner. Help? TIA.




PS - I hate open source and Linux...... rant over
__________________
Curing the infection... One bullet at a time.
Volt is offline   Reply With Quote
Old 02-04-2009, 02:33 PM   #2
mosesbotbol
That's a Corgi
 
mosesbotbol's Avatar
 
Join Date: Oct 2008
First Name: Moses
Location: Boston
Posts: 6,171
Trading: (6)
Punch
mosesbotbol is a jewel in the roughmosesbotbol is a jewel in the roughmosesbotbol is a jewel in the rough
Default Re: Need linux help

Are you able to take ownership of the folder first? MS guy over here, just throwing some ideas at you...
__________________
Port Wine & Claret | British Cars | Welsh Corgi's
mosesbotbol is offline   Reply With Quote
Old 02-04-2009, 02:35 PM   #3
a2vr6
Amante dei cigari Cubani
 
a2vr6's Avatar
 
Join Date: Oct 2008
Location: The Big Iceberg we call Canada
Posts: 151
Trading: (12)
RyJ
a2vr6 is on a distinguished road
Default Re: Need linux help

Quote:
Originally Posted by Volt View Post
Running Ubuntu Server, Gnome desktop. LAMP running. I have a file I need to copy to /var/www/ Will not let me. Most prolly a permissions issue. I am the owner of the .trz so I'm thinking the www folder is the issue. I can't change any of the permission settings of www as I'm not the owner. Help? TIA.




PS - I hate open source and Linux...... rant over

Can't you switch over to Root user and change the permissions on the folder? This is assuming your the admin of the box, which your not?
a2vr6 is offline   Reply With Quote
Old 02-04-2009, 02:37 PM   #4
markem
Bunion
 
markem's Avatar
16
 
Join Date: Oct 2008
First Name: Mark
Location: Second Star on the Right
Posts: 22,530
Trading: (47)
HUpmann
markem has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by Volt View Post
Running Ubuntu Server, Gnome desktop. LAMP running. I have a file I need to copy to /var/www/ Will not let me. Most prolly a permissions issue. I am the owner of the .trz so I'm thinking the www folder is the issue. I can't change any of the permission settings of www as I'm not the owner. Help? TIA.




PS - I hate open source and Linux...... rant over
Don't hate open source, it sounds like you are trying to copy a file to a location where you don't have permissions to put stuff. The same failure would occur on any OS worth its salt - open source, UNIX, Windows, VMS, V/TAM, OS360, you name it.

The owner of the location you want to copy to has to either A) do the copy for you; or B) give you permissions to do it yourself. In any event, you need to contact the owner of the space, which is probably the sysadmin or owner for the machine itself.
__________________
I refuse to belong to any organization that would have me as a member.
~ Groucho Marx
markem is offline   Reply With Quote
Old 02-04-2009, 02:52 PM   #5
kgoings
Cigarologist
 
kgoings's Avatar
 
Join Date: Oct 2008
First Name: Kirk
Location: Highlands Ranch, Co
Posts: 1,979
Trading: (42)
HUpmann Army (Served With Honor)
kgoings is a jewel in the roughkgoings is a jewel in the roughkgoings is a jewel in the rough
Default Re: Need linux help

cd to the directory that www resides and do an "ls -lart" and see who owns the folder...probably root. you can "su -" to root if you have the password and move the folder over, or you could chmod the file so that root is the owner, or you could chmod the folder so that you own it...there are many different ways.
__________________
Your silly little opinion has been noted!
kgoings is offline   Reply With Quote
Old 02-04-2009, 02:57 PM   #6
pnoon
YNWA
 
pnoon's Avatar
16
 
Join Date: Oct 2008
First Name: Peter
Location: San Diego
Posts: 29,919
Trading: (20)
RA
pnoon has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by kgoings View Post
cd to the directory that www resides and do an "ls -lart" and see who owns the folder...probably root. you can "su -" to root if you have the password and move the folder over, or you could chmod the file so that root is the owner, or you could chmod the folder so that you own it...there are many different ways.
I just don't understand kids these days. They speak a different language.
__________________
Be more concerned with your character than your reputation, because your character is what you really are, while your reputation is merely what others think you are.
-John Wooden
pnoon is offline   Reply With Quote
Old 02-04-2009, 04:51 PM   #7
JE3146
Jordan #2
 
JE3146's Avatar
 
Join Date: Oct 2008
First Name: Jordan
Location: Tigard, OR
Posts: 2,115
Trading: (26)
Partagas
JE3146 has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by pnoon View Post
I just don't understand kids these days. They speak a different language.
I understood it just fine
JE3146 is offline   Reply With Quote
Old 02-04-2009, 04:56 PM   #8
goalie204
Have My Own Room
 
goalie204's Avatar
 
Join Date: Dec 2008
First Name: Myles
Location: Winnipeg
Posts: 1,659
Trading: (12)
Bolivar
goalie204 will become famous soon enoughgoalie204 will become famous soon enough
Default Re: Need linux help

cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot
goalie204 is offline   Reply With Quote
Old 02-04-2009, 04:57 PM   #9
JE3146
Jordan #2
 
JE3146's Avatar
 
Join Date: Oct 2008
First Name: Jordan
Location: Tigard, OR
Posts: 2,115
Trading: (26)
Partagas
JE3146 has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by goalie204 View Post
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot
oh you're clever....
JE3146 is offline   Reply With Quote
Old 02-04-2009, 05:03 PM   #10
kgoings
Cigarologist
 
kgoings's Avatar
 
Join Date: Oct 2008
First Name: Kirk
Location: Highlands Ranch, Co
Posts: 1,979
Trading: (42)
HUpmann Army (Served With Honor)
kgoings is a jewel in the roughkgoings is a jewel in the roughkgoings is a jewel in the rough
Default Re: Need linux help

Quote:
Originally Posted by goalie204 View Post
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot

__________________
Your silly little opinion has been noted!
kgoings is offline   Reply With Quote
Old 02-04-2009, 05:15 PM   #11
Volt
I'm nuts for the place
 
Volt's Avatar
 
Join Date: Oct 2008
Posts: 2,799
Trading: (19)
ERdM Navy (Retired)
Volt has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by pnoon View Post
I just don't understand kids these days. They speak a different language.
**** I'm a M$ guy trying to bury myself in this Linux crap.

To the others, I'll try to CLI this crap. This is so 1984, DOS v3.3 has come and gone and I have no desire to go back. The 21st century has arrived. In, seriousness though, thanks for the input. I'll try the sudo stuff and either change the permissions on the folder or the file it's self. I guess the GUI doesn't allow for it. Even the windows gui allows the option to "run as".....
__________________
Curing the infection... One bullet at a time.
Volt is offline   Reply With Quote
Old 02-04-2009, 05:18 PM   #12
JE3146
Jordan #2
 
JE3146's Avatar
 
Join Date: Oct 2008
First Name: Jordan
Location: Tigard, OR
Posts: 2,115
Trading: (26)
Partagas
JE3146 has disabled reputation
Default Re: Need linux help

The beauty of Linux is the fact it's still command line oriented
JE3146 is offline   Reply With Quote
Old 02-04-2009, 05:23 PM   #13
kgoings
Cigarologist
 
kgoings's Avatar
 
Join Date: Oct 2008
First Name: Kirk
Location: Highlands Ranch, Co
Posts: 1,979
Trading: (42)
HUpmann Army (Served With Honor)
kgoings is a jewel in the roughkgoings is a jewel in the roughkgoings is a jewel in the rough
Default Re: Need linux help

I hate GUI's!

you have SOOOO much more control with the CLI, if you know what your doing and know the CLI you can get things done SOOO much faster. Then if your repeating the steps in the future...write a script. The only servers we have at work with GUI's are ......*shudder* Windows servers *ack*
__________________
Your silly little opinion has been noted!
kgoings is offline   Reply With Quote
Old 02-04-2009, 05:25 PM   #14
Volt
I'm nuts for the place
 
Volt's Avatar
 
Join Date: Oct 2008
Posts: 2,799
Trading: (19)
ERdM Navy (Retired)
Volt has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by JE3146 View Post
The beauty of Linux is the fact it's still command line oriented
Beauty is in the eye of the beholder. CLI simple and ineffcient for simple minds. But, YMMV.
__________________
Curing the infection... One bullet at a time.
Volt is offline   Reply With Quote
Old 02-04-2009, 05:25 PM   #15
kgoings
Cigarologist
 
kgoings's Avatar
 
Join Date: Oct 2008
First Name: Kirk
Location: Highlands Ranch, Co
Posts: 1,979
Trading: (42)
HUpmann Army (Served With Honor)
kgoings is a jewel in the roughkgoings is a jewel in the roughkgoings is a jewel in the rough
Default Re: Need linux help

Quote:
Originally Posted by Volt View Post
**** I'm a M$ guy trying to bury myself in this Linux crap.

To the others, I'll try to CLI this crap. This is so 1984, DOS v3.3 has come and gone and I have no desire to go back. The 21st century has arrived. In, seriousness though, thanks for the input. I'll try the sudo stuff and either change the permissions on the folder or the file it's self. I guess the GUI doesn't allow for it. Even the windows gui allows the option to "run as".....
If you log in as root you should be able to move it....also in the properties you should be able to see who owns the folder/file and I think change it...I never work in the GUI so I am trying to think way back
__________________
Your silly little opinion has been noted!
kgoings is offline   Reply With Quote
Old 02-04-2009, 05:27 PM   #16
SeanGAR
Crotchety Geezer
 
SeanGAR's Avatar
 
Join Date: Oct 2008
Location: Radford VA
Posts: 911
Trading: (3)
SeanGAR has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by JE3146 View Post
The beauty of Linux is the fact it's still command line oriented
Exactly - you can do things so much faster and easier from the CL if you know what you're doing. I even still use the CL in XP when I want to do some things fast. Still use xcopy for backups. Seriously, beats the crap out of GUI bloatware.
__________________
How can you have any pudding if you don't eat your meat?
SeanGAR is offline   Reply With Quote
Old 02-04-2009, 05:29 PM   #17
Volt
I'm nuts for the place
 
Volt's Avatar
 
Join Date: Oct 2008
Posts: 2,799
Trading: (19)
ERdM Navy (Retired)
Volt has disabled reputation
Default Re: Need linux help

My account is an "admin" account I guess. I use sudo when CLI for extra access. Root owns the WWW folder - I own teh file.
__________________
Curing the infection... One bullet at a time.
Volt is offline   Reply With Quote
Old 02-04-2009, 05:52 PM   #18
Volt
I'm nuts for the place
 
Volt's Avatar
 
Join Date: Oct 2008
Posts: 2,799
Trading: (19)
ERdM Navy (Retired)
Volt has disabled reputation
Default Re: Need linux help

Quote:
Originally Posted by goalie204 View Post
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot
You know goalie - your an ass. Thankfully I was smart enough to lookup the command prior to using it and wrecking a server at my office. I'll thank you not to resond to any of my posts.
__________________
Curing the infection... One bullet at a time.
Volt is offline   Reply With Quote
Old 02-04-2009, 06:07 PM   #19
goalie204
Have My Own Room
 
goalie204's Avatar
 
Join Date: Dec 2008
First Name: Myles
Location: Winnipeg
Posts: 1,659
Trading: (12)
Bolivar
goalie204 will become famous soon enoughgoalie204 will become famous soon enough
Default Re: Need linux help

Well first of all, it's "you're". Second, it was a joke, un-knot your panties please . Third, knowing "rm" prior to installing UNIX might be a good idea.
goalie204 is offline   Reply With Quote
Old 02-04-2009, 06:13 PM   #20
tsolomon
Have My Own Room
 
tsolomon's Avatar
2
 
Join Date: Oct 2008
First Name: Tom
Location: The Villages, FL
Posts: 1,240
Trading: (31)
VR
tsolomon has a spectacular aura abouttsolomon has a spectacular aura abouttsolomon has a spectacular aura about
Default Re: Need linux help

Quote:
Originally Posted by goalie204 View Post
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot
Okay, I'm an old fart and haven"t had to touch Unix in years, but rm -rf * means your screwed! I thought you all had GUI interfaces these days and didn't work from the command line.

Isn't the correct command chmod 777?
tsolomon is offline   Reply With Quote
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 On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 03:55 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
All content is copyrighted jointly by Cigar Asylum and the content provider.