Re: Dissapering SubDirectorys????
On Fri, 09 Jul 2004 10:35:15 -0400, Ralph Crongeyer <ralph@crongeyer.com> wrote:
> Hi all,
> I have a directory with allot of files and some subdirectories in it but
> I can't see the directories at all via FTP or the command line, however
> I can see them using "mc" (Midnight Commander)? Why???
you don't have assign right permissions to files and directories. execute this:
# chown -R ftp:ftp /path/to/dir
# find /path/to/dir -type d -exec chmod 755 {} \;
# find /path/to/dir -type f -exec chmod 644 {} \;
this would be enougth.
diego
--
[ Diego Martínez Castañeda ]
[ diegomc _@_ gmail . com ]
[ http://www.n1mh.com ]
[ ni Dios, ni amo, ni root ]
Reply to: