Cigar Asylum Cigar Forum

Cigar Asylum Cigar Forum (http://www.cigarasylum.com/vb/index.php)
-   General Discussion (http://www.cigarasylum.com/vb/forumdisplay.php?f=48)
-   -   Need linux help (http://www.cigarasylum.com/vb/showthread.php?t=9653)

Volt 02-04-2009 02:28 PM

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

mosesbotbol 02-04-2009 02:33 PM

Re: Need linux help
 
Are you able to take ownership of the folder first? MS guy over here, just throwing some ideas at you...

a2vr6 02-04-2009 02:35 PM

Re: Need linux help
 
Quote:

Originally Posted by Volt (Post 214790)
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?

markem 02-04-2009 02:37 PM

Re: Need linux help
 
Quote:

Originally Posted by Volt (Post 214790)
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.

kgoings 02-04-2009 02:52 PM

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.

pnoon 02-04-2009 02:57 PM

Re: Need linux help
 
Quote:

Originally Posted by kgoings (Post 214840)
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. ;)

JE3146 02-04-2009 04:51 PM

Re: Need linux help
 
Quote:

Originally Posted by pnoon (Post 214858)
I just don't understand kids these days. They speak a different language. ;)

I understood it just fine :D

goalie204 02-04-2009 04:56 PM

Re: Need linux help
 
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot

JE3146 02-04-2009 04:57 PM

Re: Need linux help
 
Quote:

Originally Posted by goalie204 (Post 215038)
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot

oh you're clever....

kgoings 02-04-2009 05:03 PM

Re: Need linux help
 
Quote:

Originally Posted by goalie204 (Post 215038)
cd ..
cd ..
cd ..
cd ..
rm -rf *
reboot


:r:r:r

Volt 02-04-2009 05:15 PM

Re: Need linux help
 
Quote:

Originally Posted by pnoon (Post 214858)
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".....

JE3146 02-04-2009 05:18 PM

Re: Need linux help
 
The beauty of Linux is the fact it's still command line oriented ;)

kgoings 02-04-2009 05:23 PM

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*

Volt 02-04-2009 05:25 PM

Re: Need linux help
 
Quote:

Originally Posted by JE3146 (Post 215090)
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.

kgoings 02-04-2009 05:25 PM

Re: Need linux help
 
Quote:

Originally Posted by Volt (Post 215078)
**** 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

SeanGAR 02-04-2009 05:27 PM

Re: Need linux help
 
Quote:

Originally Posted by JE3146 (Post 215090)
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.

Volt 02-04-2009 05:29 PM

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.

Volt 02-04-2009 05:52 PM

Re: Need linux help
 
Quote:

Originally Posted by goalie204 (Post 215038)
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.

goalie204 02-04-2009 06:07 PM

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.

tsolomon 02-04-2009 06:13 PM

Re: Need linux help
 
Quote:

Originally Posted by goalie204 (Post 215038)
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. :D

Isn't the correct command chmod 777?


All times are GMT -6. The time now is 10:17 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.