On 12/29/06, Sharad Birmiwal <[EMAIL PROTECTED]> wrote: > > This is what I'd try next. mount the vfat fs to > /home/FTP-shared/download/vfat (and again check for permissions to vfat > after mounting, i.e. ls -l /home/FTP-shared/download/vfat should have > atleast r-x for others). is this an anonymous share?
yes this is an anonymous share. your 'ftp' user should > be able to browse through the directory. > BTW i just saw this now, you have defined two anonymous sections in the > config file? If I log in as user anonymous, how does proftpd decide if I > should be logged into ~ftp or /media/sda1/bf (maybe it takes the last > defined path)? oops, maye thats the error i have made. i think i should make it /home/FTP-shared/download/ at both the placces. Isn't it? I'll try and get to you as soon as possible. thanks for cheking that out. sharad birmiwal > > On 12/28/06, अभिनव सहाय <[EMAIL PROTECTED]> wrote: > > > > On 12/28/06, Sharad Birmiwal <[EMAIL PROTECTED]> wrote: > > > > > > let me understand this, you want to share a mount via ftp? then it has > > to > > > do > > > with the permissions (when you are mounting). what are the mount > options > > > you > > > pass (eg, try adding umask=000 for vfat)? check the permissions for > > mount > > > point. it should work. btw, links (ln) don't work (you can't follow > > links > > > via proftpd, security feature). > > > check the documentation, maybe even mounts are disabled. > > > > > > What i am trying to do is this > > the "proftpd" allows me to put a download folder, only in my root > > partition, > > as the download location. But I want to put up a folder from my fat > > partition to download files. For this I read a manual at ubuntuforums > and > > put up this at the terminal: > > > > sudo mount -o bind the_directory_you_want_to_share > > /home/FTP-shared/download > > > > where /home/FTP-shared/download is the default location for the ftp > > download > > location > > > > when I run this command, no error is given > > but when i try to access it i get the 550 permission denied error > > I hope you understood what I am trying > > Any clues now? > > > > sharad birmiwal > > > > > > On 12/26/06, अभिनव सहाय <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi all > > > > I installed proftpd to make a ftp server for my lan. The problem is > > that > > > I > > > > cant mount any other partition from my hard disk for the download > > folder > > > > except my root partition. When I mount any other partition and then > > try > > > to > > > > access the folder I get a prompt: > > > > "550: Permission denied" > > > > > > > > My configuration file reads like this:: > > > > > > > > # > > > > # /etc/proftpd.conf -- This is a basic ProFTPD configuration file. > > > > # To really apply changes reload proftpd after modifications. > > > > # > > > > > > > > ServerName "Debian" > > > > ServerType standalone > > > > DeferWelcome off > > > > > > > > MultilineRFC2228 on > > > > DefaultServer on > > > > ShowSymlinks off > > > > > > > > TimeoutNoTransfer 600 > > > > TimeoutStalled 100 > > > > TimeoutIdle 2200 > > > > > > > > DisplayLogin welcome.msg > > > > DisplayFirstChdir .message > > > > ListOptions "-l" > > > > > > > > DenyFilter \*.*/ > > > > DefaultRoot ~ > > > > > > > > # Uncomment this if you are using NIS or LDAP to retrieve passwords: > > > > PersistentPasswd off > > > > > > > > # Uncomment this if you would use TLS module: > > > > #TLSEngine on > > > > > > > > # Uncomment this if you would use quota module: > > > > #Quotas on > > > > > > > > # Uncomment this if you would use ratio module: > > > > #Ratios on > > > > > > > > # Port 21 is the standard FTP port. > > > > Port 1980 > > > > > > > > # To prevent DoS attacks, set the maximum number of child processes > > > > # to 30. If you need to allow more than 30 concurrent connections > > > > # at once, simply increase this value. Note that this ONLY works > > > > # in standalone mode, in inetd mode you should use an inetd server > > > > # that allows you to limit maximum number of processes per service > > > > # (such as xinetd) > > > > MaxInstances 8 > > > > > > > > # Set the user and group that the server normally runs at. > > > > User nobody > > > > Group nogroup > > > > > > > > # Umask 022 is a good standard umask to prevent new files and dirs > > > > # (second parm) from being group and world writable. > > > > Umask 022 022 > > > > # Normally, we want files to be overwriteable. > > > > AllowOverwrite on > > > > > > > > # Delay engine reduces impact of the so-called Timing Attack > described > > > in > > > > # http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02 > > > > # It is on by default. > > > > #DelayEngine off > > > > > > > > # A basic anonymous configuration, no upload directories. > > > > > > > > # <Anonymous ~ftp> > > > > # User ftp > > > > # Group nogroup > > > > # # We want clients to be able to login with "anonymous" as well > as > > > > "ftp" > > > > # UserAlias anonymous ftp > > > > # # Cosmetic changes, all files belongs to ftp user > > > > # DirFakeUser on ftp > > > > # DirFakeGroup on ftp > > > > # > > > > # RequireValidShell off > > > > # > > > > # # Limit the maximum number of anonymous logins > > > > # MaxClients 10 > > > > # > > > > # # We want 'welcome.msg' displayed at login, and '.message' > > displayed > > > > # # in each newly chdired directory. > > > > # DisplayLogin welcome.msg > > > > # DisplayFirstChdir .message > > > > # > > > > # # Limit WRITE everywhere in the anonymous chroot > > > > # <Directory /home/FTP-shared/download> > > > > # <Limit WRITE> > > > > # DenyAll > > > > # </Limit> > > > > # </Directory> > > > > # > > > > # # Uncomment this if you're brave. > > > > # # <Directory incoming> > > > > # # # Umask 022 is a good standard umask to prevent new files > and > > > dirs > > > > # # # (second parm) from being group and world writable. > > > > # # Umask 022 022 > > > > # # <Limit READ WRITE> > > > > # # DenyAll > > > > # # </Limit> > > > > # # <Limit STOR> > > > > # # AllowAll > > > > # # </Limit> > > > > # # </Directory> > > > > # > > > > # </Anonymous> > > > > <Anonymous ~ftp> > > > > User ftp > > > > Group nogroup > > > > UserAlias anonymous ftp > > > > DirFakeUser on ftp > > > > DirFakeGroup on ftp > > > > RequireValidShell off > > > > MaxClients 10 > > > > DisplayLogin welcome.msg > > > > DisplayFirstChdir .message > > > > </Anonymous> > > > > > > > > > > > > > > > > <Anonymous /media/sda1/bf/> > > > > User ftp > > > > Group nogroup > > > > UserAlias anonymous ftp > > > > DirFakeUser on ftp > > > > DirFakeGroup on ftp > > > > RequireValidShell off > > > > MaxClients 10 > > > > DisplayLogin welcome.msg > > > > DisplayFirstChdir .message > > > > <Directory *> > > > > <Limit WRITE> > > > > DenyAll > > > > </Limit> > > > > </Directory> > > > > </Anonymous> > > > > > > > > > > > > Please help me correct whatever is wrong > > > > thanks > > > > > > > > > > > > > > > > > > > > -- > > > > ""I m a gr8 believer in luck and I find the harder I try the more I > > have > > > > of > > > > it"" > > > > > > > > Abhinav Sahai > > > > R.KG.I.T Ghaziabad > > > > 3rd Yr CSE > > > > Moderator Ghaziabad LUG > > > > http://www.sahaitherocker.blogspot.com > > > > http://www.flickr.com/photos/[EMAIL PROTECTED]/?saved=1 > > > > _______________________________________________ > > > > ilugd mailinglist -- [email protected] > > > > http://frodo.hserus.net/mailman/listinfo/ilugd > > > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > > > > http://www.mail-archive.com/[email protected]/ > > > > > > > _______________________________________________ > > > ilugd mailinglist -- [email protected] > > > http://frodo.hserus.net/mailman/listinfo/ilugd > > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > > > http://www.mail-archive.com/[email protected]/ > > > > > > > > > > > -- > > ""I m a gr8 believer in luck and I find the harder I try the more I have > > of > > it"" > > > > Abhinav Sahai > > R.KG.I.T Ghaziabad > > 3rd Yr CSE > > Moderator Ghaziabad LUG > > http://www.sahaitherocker.blogspot.com > > http://www.flickr.com/photos/[EMAIL PROTECTED]/?saved=1 > > _______________________________________________ > > ilugd mailinglist -- [email protected] > > http://frodo.hserus.net/mailman/listinfo/ilugd > > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > > http://www.mail-archive.com/[email protected]/ > > > _______________________________________________ > ilugd mailinglist -- [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/[email protected]/ > -- ""I m a gr8 believer in luck and I find the harder I try the more I have of it"" Abhinav Sahai R.KG.I.T Ghaziabad 3rd Yr CSE Moderator Ghaziabad LUG http://www.sahaitherocker.blogspot.com http://www.flickr.com/photos/[EMAIL PROTECTED]/?saved=1 _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
