Re: vsftpd : different access type on same directory
- I've tried it and everything work the way I want.
Thanks a lot,
--- In email@example.com, "maverik044" <maverik044@y...>
> 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.
> tried it, but according to the doc it should work, if the nslu2level
> 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
> owner of the share then it will work, or if the share haspermission
> set to permit world access. In the web gui, if you have grantedunless
> 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
> you chmod appropriately (say 777 or 755).to
> 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
> 754 for directories and 740 for files.<mgoebel@g...>
> --- In firstname.lastname@example.org, "slayerlover2004"
> > That looks like a setting for the whole session, not particular
> > path.
> > Will the web-interface, samba, etc. get mad at you if you change
> > permissions/groups/ownership of share folders?
> > --- In email@example.com, "maverik044"
> > >
> > > I believe so, check out the following options at
> > > http://vsftpd.beasts.org/vsftpd_conf.html
> > >
> > > user_config_dir
> > > write_enable