mirror of
https://github.com/vale981/dirkules
synced 2025-03-04 08:51:40 -05:00
the full path is now saved in samba shares
This commit is contained in:
parent
ccb51aab8e
commit
42da594162
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ def create_share(name, path, user, dir_mask, create_mask, writeable, btrfs, recy
|
|||
:return: Nothing
|
||||
:rtype: None
|
||||
"""
|
||||
path = Pool.query.get(int(path))
|
||||
path = Pool.query.get(int(path)).mountpoint + "/{}".format(name)
|
||||
share = SambaShare(name, path, btrfs=btrfs, recycle=recycling)
|
||||
user = SambaOption("valid users", user)
|
||||
if dir_mask is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue