[FFmpeg-devel] [PATCH] lavf: add samba protocol via libsmbclient

Nicolas George george at nsup.org
Sun Jul 13 17:58:19 CEST 2014


Le quintidi 25 messidor, an CCXXII, Derek Buitenhuis a écrit :
> Wrong. FUSE lets you mount samba shares as non-root.

Not wrong, merely too concise for the inattentive reader.

You need root privileges to install FUSE on a system and enable it for any
or all users: FUSE does not allow to mount without root privileges, it only
allows root to delegate the privileges of mounting, in a more convenient way
than sudo or similar.

And indeed, I know of several hosting services where FUSE is not enabled.
Low-end VPS services frequently fall in that category, as they use custom
kernels with strange virtualization methods.

To allow to mount anything really without root privileges, you would need an
implementation that work solely in userland, not relying on a kernel
infrastructure: it would need to divert system calls using ptrace or shared
library magic. It has been started a few times, but nothing satisfactory
came out of it. The closest actually usable thing that exist would probably
be User Mode Linux.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140713/81f3a400/attachment.asc>


More information about the ffmpeg-devel mailing list