Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

linux people- halp please

Thread Tools
 
Old Feb 2, 2009 | 05:16 PM
  #1  
sherwood's Avatar
sherwood
Thread Starter
I missed Sean
 
Joined: Aug 2004
Posts: 11,285
Likes: 1
From: Fairfield/Bridgeport CT
Default linux people- halp please

so I thought it'd be fun to make a LAMP server out of an old computer- dumb me

anywho my dumb ass has got the whole thing running but I can't seem to set my FTP up right to allow me full access, I can write to the folder but I can't delete anything, and this results in a lot of headaches; I guess the upside is I've been getting a lot of exercise running back and fourth from the server...

still does anyone know of the vsFTP or pureFTP code I have to modify to allow full access to anonymous users or setup new users?
Reply
Old Feb 2, 2009 | 05:17 PM
  #2  
dubcac's Avatar
dubcac
I
 
Joined: Jan 2001
Posts: 56,525
Likes: 0
From: Westside til I die
Default

I love lamp
__________________
2015 Ford Mustang GT Fastback - Ingot Silver - 6M - Performance Package - Gibson Catback, JLT CAI, FR 47lb injectors, BAMA E85 tune, Eibach Sportline, BMR wheel hop kit, UPR oil separator, Steeda shifter bushing/bracket
Team B.O.B.® - Ballaz on a Budget
Reply
Old Feb 2, 2009 | 05:36 PM
  #3  
sherwood's Avatar
sherwood
Thread Starter
I missed Sean
 
Joined: Aug 2004
Posts: 11,285
Likes: 1
From: Fairfield/Bridgeport CT
Default

Originally Posted by dubcac
I love lamp
http://profile.myspace.com/index.cfm...endid=89767122
Reply
Old Feb 3, 2009 | 04:31 AM
  #4  
testep02's Avatar
testep02
Junior Member
 
Joined: Jan 2005
Posts: 64
Likes: 0
Default

I haven't used Linux in a year or so, I'm more of a windows fan, but don't you just set folder permissions to 777 to allow complete access to the files? I don't think it has anything to do with the FTP software.
Reply
Old Feb 3, 2009 | 04:34 AM
  #5  
Red X's Avatar
Red X
x pǝɹ
 
Joined: Feb 2003
Posts: 6,246
Likes: 1
From: Upstate
Default

Originally Posted by testep02
I haven't used Linux in a year or so, I'm more of a windows fan, but don't you just set folder permissions to 777 to allow complete access to the files? I don't think it has anything to do with the FTP software.
could be. chmod 777 for total access
Reply
Old Feb 3, 2009 | 05:25 AM
  #6  
testep02's Avatar
testep02
Junior Member
 
Joined: Jan 2005
Posts: 64
Likes: 0
Default

Keep in mind though that having folders and files set to 777 is less secure. That may or may not be an issue with whatever you're doing. Another fix you can try is to see what user owns the file. Chanes are if it's root, you won't be able to delete it with an anonymous user. Again, I haven't used Linux in about a year so I could be way off base here. I remember having similar issues when we used Linux to host our Tomcat server. We could modify some files, but when it came time to delete them, we didn't have access. Turns out that our IT team took away our root privaleges (somehow, they didn't think developers needed to deploy jar files to the server). Anyway, they changed the owner of our deployment folder to our softdev login and the problem was solved.
Reply
Old Feb 3, 2009 | 06:43 AM
  #7  
XScarAudio's Avatar
XScarAudio
///o\\\///o\\\
 
Joined: May 2002
Posts: 8,550
Likes: 0
From: Tampa
Default

make sure that the folders are owned by your FTP user/ group. Then, mode of 755 will work fine
Reply
Old Feb 3, 2009 | 06:45 AM
  #8  
XScarAudio's Avatar
XScarAudio
///o\\\///o\\\
 
Joined: May 2002
Posts: 8,550
Likes: 0
From: Tampa
Default

Actually, i take that back....if all FTP users actions are executed by the FTP server's user, then 755 will work. If they are actual users on the server and part of the FTP group, you'll need 775 (this lets owner AND group write)
Reply
Old Feb 4, 2009 | 04:39 PM
  #9  
sherwood's Avatar
sherwood
Thread Starter
I missed Sean
 
Joined: Aug 2004
Posts: 11,285
Likes: 1
From: Fairfield/Bridgeport CT
Default

Thanks guys, I just set /srv/www/* to mode 777 and it's working

is there anyway to list active groups/users in the terminal? I'm pretty new to Linux but fluent in DOS so i'm not afraid of the command line- any basic tips or tricks for a n00b?
Reply
Old Feb 4, 2009 | 04:51 PM
  #10  
Red X's Avatar
Red X
x pǝɹ
 
Joined: Feb 2003
Posts: 6,246
Likes: 1
From: Upstate
Default

Originally Posted by sherwood
Thanks guys, I just set /srv/www/* to mode 777 and it's working

is there anyway to list active groups/users in the terminal? I'm pretty new to Linux but fluent in DOS so i'm not afraid of the command line- any basic tips or tricks for a n00b?
try 'who' with some flag and directory settings

http://www.oreillynet.com/linux/cmd/cmd.csp?path=w/who
Reply



All times are GMT -8. The time now is 12:25 PM.