chatop2020 / AKStream

AKStream是一套全平台(Linux,MacOS,Windows)、全架构(X86_64,Arm...)、全功能的流媒体管理控制接口平台。集成GB28181,RTSP,RTMP,HTTP等设备推拉流控制、PTZ控制、音视频文件录制管理、音视频文件裁剪合并等功能与一体
MIT License
1.17k stars 327 forks source link

dotnet /root/AKStreamKeeper/AKStreamKeeper 执行报错提示权限不足 #88

Closed runtudecha closed 3 months ago

runtudecha commented 4 months ago

环境 ubuntu24.04 步骤:执行 到执行这一步发现权限不够的问题,全程都是使用root执行的 ,请问是什么原因

sudo dotnet /root/AKStreamKeeper/AKStreamKeeper.dll Unhandled exception. System.UnauthorizedAccessException: Access to the path is denied. ---> System.IO.IOException: Operation not permitted --- End of inner exception stack trace --- at System.IO.DriveInfo.CheckStatfsResultAndThrowIfNecessary(Int32 result) at System.IO.DriveInfo.get_TotalSize() at LibSystemInfo.DiskInfoValue.GetDrivesInfo() in /root/AKStream/LibSystemInfo/DiskInfoValue.cs:line 20 at LibSystemInfo.SystemInfo.GetInfo() in /root/AKStream/LibSystemInfo/SystemInfo.cs:line 95 at System.Threading.Thread.StartCallback()

chatop2020 commented 3 months ago

系统层面报出来的权限不足,要不是系统有限制要不就是配置有问题,你要自己查一下