Re: [ilugd] proftpd 550 error

2006-12-28 Thread अभिनव सहाय
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.
  #
 
  ServerNameDebian
  ServerTypestandalone
  DeferWelcomeoff
 
  MultilineRFC2228on
  DefaultServeron
  ShowSymlinksoff
 
  TimeoutNoTransfer600
  TimeoutStalled100
  TimeoutIdle2200
 
  DisplayLoginwelcome.msg
  DisplayFirstChdir   .message
  ListOptions-l
 
  DenyFilter\*.*/
  DefaultRoot ~
 
  # Uncomment this if you are using NIS or LDAP to retrieve passwords:
  PersistentPasswdoff
 
  # Uncomment this if you would use TLS module:
  #TLSEngine on
 
  # Uncomment this if you would use quota module:
  #Quotason
 
  # Uncomment this if you would use ratio module:
  #Ratioson
 
  # Port 21 is the standard FTP port.
  Port1980
 
  # 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)
  MaxInstances8
 
  # Set the user and group that the server normally runs at.
  Usernobody
  Groupnogroup
 
  # Umask 022 is a good standard umask to prevent new files and dirs
  # (second parm) from being group and world writable.
  Umask022  022
  # Normally, we want files to be overwriteable.
  AllowOverwriteon
 
  # Delay engine reduces impact of the so-called Timing Attack described
 in
  # http://security.lss.hr/index.php?page=detailsID=LSS-2004-10-02
  # It is on by default.
  #DelayEngine off
 
  # A basic anonymous configuration, no upload directories.
 
  # Anonymous ~ftp
  #   Userftp
  #   Groupnogroup
  #   # We want clients to be able to login with anonymous as well as
  ftp
  #   UserAliasanonymous ftp
  #   # Cosmetic changes, all files belongs to ftp user
  #   DirFakeUseron ftp
  #   DirFakeGroup on ftp
  #
  #   RequireValidShelloff
  #
  #   # Limit the maximum number of anonymous logins
  #   MaxClients10
  #
  #   # We want 'welcome.msg' displayed at login, and '.message' displayed
  #   # in each newly chdired directory.
  #   DisplayLoginwelcome.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.
  #   #   Umask022  022
  #   #Limit READ WRITE
  #   #DenyAll
  #   #/Limit
  #   #Limit STOR
  #   #AllowAll
  #   #/Limit
  #   # /Directory
  #
  # /Anonymous
  Anonymous ~ftp
  Userftp
  Groupnogroup
  UserAlias  anonymous ftp
  DirFakeUser on ftp
  DirFakeGroup on ftp
  RequireValidShell  off
  MaxClients 

Re: [ilugd] opening *.mht files

2006-12-28 Thread Karanbir Singh
Anant Narayanan wrote:
 opening a file has little to do with the extension - browser. Its more 
 to do with how the browser identifies its mime time and allocates an 
 handler process. So look for issues that might have a role to play in 
 wrong mime type reporting.

 also, when the fsck did microsoft fork html ?
 
 *.mht are integrated HTML files; and contain everything needed to 
 display a particular page in its entirety. So if a HTML has an image and 
 is saved as MHT; the image is part of that single file too.
 

so its not really just a microsoft's version of html, as was originally 
implied..

-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] opening *.mht files

2006-12-28 Thread Gaurav Mishra
On 12/27/06, Vaibhav Singh [EMAIL PROTECTED] wrote:
 hello everyone,

 Is there any plugin in mozilla firefox or any other web browser that can be
 used to open mht (Microsoft HTML) files.

Firstly it is no way Microsoft HTML(why the world thinks everything
starting with m is microsoft ?)

it  stands for MIME HTML. It is a standard for including resources
that in usual HTTP pages are linked externally, such as images and
sound files, in the same file as the HTML code,

 I cant open these files on my Ubuntu desktop, all I get is the HTML dump.

I assume by Ubuntu Desktop you mean Firefox 2.0, which is the latest
one in edgy. try installing the
http://www.extensionsmirror.nl/index.php?showtopic=702  extension to
enable mht viewing and saving.

Or if you can go non-free way , you can download opera 9.01 from opera.com


 Regards
 Vaibhav Singh


-- 

Linux User #348873
ILUGD Commitee Member, GZLUG , DGLUG Moderator
B.Tech 4th Year Computer Science , RKGIT , Ghaziabad
http://rockybhai.blogspot.com
When i can run , i will run , When i can walk , i will walk, When i can
crawl , i will crawl. But i will not stop moving forward

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


[ilugd] [Commercial] Wanted MYSQL DB, Clustering Specialist

2006-12-28 Thread Anand Kapoor
Hello,

A leading organisation in the city needs assistance in the
installation of Mysql 5x cluster in an RHES environment. The
requirement is urgent and renumeration is not a problem, please
contact [EMAIL PROTECTED] or myself offline.

Cheers,

Anand

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] proftpd 550 error

2006-12-28 Thread Sharad Birmiwal
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? 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)?


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.
   #
  
   ServerNameDebian
   ServerTypestandalone
   DeferWelcomeoff
  
   MultilineRFC2228on
   DefaultServeron
   ShowSymlinksoff
  
   TimeoutNoTransfer600
   TimeoutStalled100
   TimeoutIdle2200
  
   DisplayLoginwelcome.msg
   DisplayFirstChdir   .message
   ListOptions-l
  
   DenyFilter\*.*/
   DefaultRoot ~
  
   # Uncomment this if you are using NIS or LDAP to retrieve passwords:
   PersistentPasswdoff
  
   # Uncomment this if you would use TLS module:
   #TLSEngine on
  
   # Uncomment this if you would use quota module:
   #Quotason
  
   # Uncomment this if you would use ratio module:
   #Ratioson
  
   # Port 21 is the standard FTP port.
   Port1980
  
   # 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)
   MaxInstances8
  
   # Set the user and group that the server normally runs at.
   Usernobody
   Groupnogroup
  
   # Umask 022 is a good standard umask to prevent new files and dirs
   # (second parm) from being group and world writable.
   Umask022  022
   # Normally, we want files to be overwriteable.
   AllowOverwriteon
  
   # Delay engine reduces impact of the so-called Timing Attack described
  in
   # http://security.lss.hr/index.php?page=detailsID=LSS-2004-10-02
   # It is on by default.
   #DelayEngine off
  
   # A basic anonymous configuration, no upload directories.
  
   # Anonymous ~ftp
   #   Userftp
   #   Groupnogroup
   #   # We want clients to be able to login with anonymous as well as
   ftp
   #   UserAliasanonymous ftp
   #   # Cosmetic changes, all files belongs to ftp user
   #   DirFakeUseron ftp
   #   DirFakeGroup on ftp
   #
   #   RequireValidShelloff
   #
   #   # Limit the maximum number of anonymous logins
   #   MaxClients10
   #
   #   # We want 'welcome.msg' displayed at login, and '.message'
 displayed
   #   # in each newly chdired directory.
   #   DisplayLoginwelcome.msg
   #   DisplayFirstChdir.message
   #
   #   # Limit WRITE everywhere in the anonymous chroot
   #   Directory