Schwierigkeiten mit Symlinks und Samba Windows Shares Part 2

Nach einiger Zeit funktionierten die Symlinks meiner Samaba Shares für Windows wieder nicht. Das letzte mal genügte es die Option unix extensions abzuschalten, um die Option wide links zu aktivieren. Als das Problem nun wieder auftauchte nahm ich die Option wide links genauer unter die Lupe:

wide links (S)

This parameter controls whether or not links in the UNIX file system
may be followed by the server. Links that point to areas within the
directory tree exported by the server are always allowed; this
parameter controls access only to areas that are outside the
directory tree being exported.

Note: Turning this parameter on when UNIX extensions are enabled
will allow UNIX clients to create symbolic links on the share that
can point to files or directories outside restricted path exported
by the share definition. This can cause access to areas outside of
the share. Due to this problem, this parameter will be automatically
disabled (with a message in the log file) if the unix extensions
option is on.

Default: wide links = no

Wie man sieht ist sie standardmäßig deaktiviert. Auch wenn es vorher funktionierte, ohne sie explizit zu aktivieren, änderte ich die Konfigurationsdatei wie folgt:

wide links = yes
follow symlinks = yes
unix extensions = no

Nun funktionieren die Links wieder und dies wird sich hoffentlich auch nicht mehr einfach so ändern 😉

One Reply to “Schwierigkeiten mit Symlinks und Samba Windows Shares Part 2”

Leave a Reply