LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-08-2004, 09:29 AM   #1
rubbercash
LQ Newbie
 
Registered: Jul 2004
Location: UK
Distribution: redhat
Posts: 15

Rep: Reputation: 0
FTP Change Directory Permissions


Distro: Redhat 7.2
FTP Server: VSFTPD

When I try to login to my VSFTPD linux server, I get the error message:
"User xxxx : can't change directory to /var/www"

Any ideas what might be prompting this error?

Thanks.
 
Old 07-08-2004, 10:31 AM   #2
RINO2004
LQ Newbie
 
Registered: Jun 2004
Location: Lithuania
Distribution: Slackware 9.x
Posts: 21

Rep: Reputation: 15
i dont know what usere uses your ftp deamon but try
chown ftp:ftp /var/www
chmod +rwx /var/www
 
Old 07-08-2004, 11:04 AM   #3
rubbercash
LQ Newbie
 
Registered: Jul 2004
Location: UK
Distribution: redhat
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your input, though I'm still recieving the same error message with those options.
 
Old 07-08-2004, 03:57 PM   #4
hasnain
Member
 
Registered: Jun 2004
Location: Karachi
Distribution: Redhat
Posts: 56

Rep: Reputation: 15
ftp problem

hello


goto /var/www and write chmod 777


regards
 
Old 07-09-2004, 04:35 AM   #5
rubbercash
LQ Newbie
 
Registered: Jul 2004
Location: UK
Distribution: redhat
Posts: 15

Original Poster
Rep: Reputation: 0
Even with those new permissions, the FTP client still comes up with the same error. Could it be something to do with the permissions of the parent folders of /var/www?
 
Old 07-29-2004, 04:54 PM   #6
rubbercash
LQ Newbie
 
Registered: Jul 2004
Location: UK
Distribution: redhat
Posts: 15

Original Poster
Rep: Reputation: 0
I ended up using http instead of ftp, by having a perl script upload the file to the computer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change directory permissions ? cwolf78 Linux - Software 3 05-05-2005 12:15 PM
can't change directory permissions walterbyrd Debian 7 07-24-2004 01:20 PM
How do I Change directory permissions? Stevetgn Linux - Newbie 8 06-09-2004 12:09 AM
recursive file permissions does not change new files in same directory PAB Linux - Newbie 2 03-08-2004 12:27 PM
How do I change read/write permissions for a whole directory? Stevetgn Linux - Newbie 8 12-31-2003 07:41 AM


All times are GMT -5. The time now is 09:37 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration