Loading ...
Sorry, an error occurred while loading the content.

Re: vsftpd : different access type on same directory

Expand Messages
  • Olivier Mungo
    I ve tried it and everything work the way I want. Thanks a lot, Olivier Mungo ... Haven t ... level ... permission ... unless ... to ... ... to
    Message 1 of 5 , Dec 31, 2004
    • 0 Attachment
      I've tried it and everything work the way I want.

      Thanks a lot,
      Olivier Mungo

      --- In nslu2-linux@yahoogroups.com, "maverik044" <maverik044@y...>
      wrote:
      >
      > If you enable chroot_local_user, then it is specific to the user
      > home directory specified in /etc/passwd. If you create two users
      > with the same home directory specified in /etc/passwd, then use
      > user_config_dir, and then put user specific configuration
      > in /etc/vsftpd_user_conf. In the user config file specify
      > write_enable=NO for one and write_enable=YES for the other.
      Haven't
      > tried it, but according to the doc it should work, if the nslu2
      > version of vsftpd still supports it.
      >
      > Regarding Samba yes and no. If the user login in id specific when
      > connecting to the samba share is the same as the linux system
      level
      > owner of the share then it will work, or if the share has
      permission
      > set to permit world access. In the web gui, if you have granted
      > permission to a share for users x and y, but you chown the share
      > directory to be user y, then x will not be able to access it
      unless
      > you chmod appropriately (say 777 or 755).
      >
      > But keep in mind that /etc/samba/smb.conf is setup to assign the
      > owner as user id connected via samba and to force the permission
      to
      > 754 for directories and 740 for files.
      >
      > --- In nslu2-linux@yahoogroups.com, "slayerlover2004"
      <mgoebel@g...>
      > wrote:
      > >
      > > That looks like a setting for the whole session, not particular
      to
      > any
      > > path.
      > >
      > > Will the web-interface, samba, etc. get mad at you if you change
      > > permissions/groups/ownership of share folders?
      > >
      > > --- In nslu2-linux@yahoogroups.com, "maverik044"
      <maverik044@y...>
      > wrote:
      > > >
      > > > I believe so, check out the following options at
      > > > http://vsftpd.beasts.org/vsftpd_conf.html
      > > >
      > > > user_config_dir
      > > > write_enable
    Your message has been successfully submitted and would be delivered to recipients shortly.