LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] linking

[ILUG] linking

Ole Tange ole at tange.dk
Tue Jul 19 12:44:50 IST 2005


On Tue, 19 Jul 2005, Keith Hyland wrote:

> i want to make some files available locally to guests on the the internal 
> net; the server is running proFTPd, which out of the box makes /var/ftp the 
> root for anonymous users.
> 
> i made some links ( -s symbolic: the files live on another mounted disk) to 
> /mnt/hdc1/blah..  however, while the links are seen by anonymous clients, 
> they cant traverse them.  permissions on the links are 777, files are 755.
> users have /home/username as their root.  I  would prefer  to use anonymous 
> access for these files.

This is probably because ProFTPd chroots to /var/ftp.

> putting the files on the same disk as /var/ftp is not possible.

Can you move /var/ftp to another disk?

Can you use: 

  mkdir /var/ftp/blah
  mount --bind /mnt/hdc1/blah /var/ftp/blah


/Ole




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell