-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
"SMB shares require root privileges"Β #13516
Description
β Have you read and understood the above guidelines?
yes
π Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
π What is the name of the script you are using?
MotionEye NVR
π What was the exact command used to execute the script?
bash -c "$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVE/raw/branch/main/ct/motioneye.sh)"
βοΈ What settings are you using?
- Default Settings
- Advanced Settings
π₯οΈ Which Linux distribution are you using?
Debian 13
π Which Proxmox version are you on?
8.4
π Provide a clear and concise description of the issue.
As reported here: motioneye-project/motioneye#1263 we can't use SMB/ Samba when the user is not root
"You have configured your motionEye to run as a normal user but you have also enabled SMB shares, which requires root. You can't have both."
motioneye-project/motioneye#1263 (comment)
π Steps to reproduce the issue.
- install motioneye
- enable SMB
- server won't start
β Paste the full error output (if available).
` β motioneye.service - motionEye Server
Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2026-04-04 05:38:36 BST; 13s ago
Duration: 466ms
Invocation: 3714d7616a8747039e6bbf66d70aa488
Process: 9205 ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf (code=exited, status=255/EXCEPTION)
Main PID: 9205 (code=exited, status=255/EXCEPTION)
Mem peak: 65.6M
CPU: 450ms
Apr 04 05:38:36 motioneye systemd[1]: Started motioneye.service - motionEye Server.
Apr 04 05:38:36 motioneye meyectl[9205]: configure_logging cmd motioneye: False
Apr 04 05:38:36 motioneye meyectl[9205]: configure logging to file: None
Apr 04 05:38:36 motioneye meyectl[9205]: INFO: hello! this is motionEye server 0.44.0b1
Apr 04 05:38:36 motioneye meyectl[9205]: CRITICAL: SMB shares require root privileges
`
πΌοΈ Additional context (optional).
"CRITICAL: SMB shares require root privileges"
I have done an update to 0.44 but I have also tried with Default settings, and without updating.
The Home Assistant version of this does allow SMB, and I would like to have MotionEye as a separate VM, but need to install it as root. Please can you add an option when installing to have it install as root?
Thank you.