>>>>> The command would then be executed with the logged-in user permissions 
>>>>> (UID, GID), but just before it is chrooted to its home directory.
>>>> 
>>>> What sort of command/script do you need to execute that requires the 
>>>> logged-in user permissions?
>>> 
>>> Thank you very much for your answer / interest !
>>> 
>>> I need to run a command which mounts the user's filesystem right to its 
>>> DefaultRoot. This filesystem is a FUSE filesystem (a fully functional 
>>> filesystem in a userspace program).
>>> 
>>> So I need to mount it with the logged-in user's permissions, and just 
>>> before the chroot to have required commands and so that chroot is then 
>>> done in the mounted filesystem.
>> 
>> OK.  Starting with proftpd-1.3.4, there is a 'core.chroot' event generated 
>> just before chroot happens; this means that you should be able to use:
>> 
>> ExecOnEvent core.chroot ...
> 
> Thank you very much !
> I just tried this event, it works, command is executed, however is it with 
> ProFTPd daemon permissions, not with the logged-in user's permissions.
> 
> Could it be possible to make the command executed with logged-in user's 
> permissions ?

Hello,

Do you have any news on this subject ?

Thank you very much !

Best regards,

Ben


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
ProFTPD Developers List
<[email protected]>
https://lists.sourceforge.net/lists/listinfo/proftp-devel

Reply via email to