运行官方案例,出现FileUtils.cpp:468] Check Owner permission failed: Current permission is 7, but required no greater than 6.
收藏回复举报
运行官方案例,出现FileUtils.cpp:468] Check Owner permission failed: Current permission is 7, but required no greater than 6.
t('forum.solved') 已解决
发表于2025-03-14 14:49:54
0 查看

运行了官方的案例 https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Getting Started with Application Development/gswmsad/gswmsad_0002.html

,出现了如下错误

# python main.py  

Begin to initialize Log. 

WARNING: Logging before InitGoogleLogging() is written to STDERR 

I20250214 22:05:41.349113 1738869 FileUtils.cpp:472] Check Owner permission: Current permission is 7, but required no greater than 6. 

I20250214 22:05:41.349155 1738869 FileUtils.cpp:472] Check Owner group permission: Current permission is 5, but required no greater than 4. 

I20250214 22:05:41.349166 1738869 FileUtils.cpp:472] Check Other group permission: Current permission is 5, but required no greater than 0. 

The output directory of logs file exist. 

I20250214 22:05:41.349334 1738869 FileUtils.cpp:330] The input file is empty 

I20250214 22:05:41.349351 1738869 FileUtils.cpp:472] Check Other group permission: Current permission is 4, but required no greater than 0. 

Save logs information to specified directory. 

/usr/local/miniconda3/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension:  

  warn(f"Failed to load image Python extension: {e}") 

E20250214 22:05:42.012892 1738869 FileUtils.cpp:468] Check Owner permission failed: Current permission is 7, but required no greater than 6. 

E20250214 22:05:42.013319 1738869 LogManager.hpp:136] Invalid logging.conf file! 

E20250214 22:05:42.013350 1738869 GlobalInit.cpp:41] [100000][Parameter verification failed] Init log rotate thread failed. 

E20250214 22:05:42.119253 1738869 FileUtils.cpp:468] Check Owner permission failed: Current permission is 7, but required no greater than 6. 

E20250214 22:05:42.119302 1738869 DeviceManager.cpp:35] Invalid lib file! 

E20250214 22:05:42.119328 1738869 DeviceManager.cpp:142] Check user permission failed, please check the owner of process. 

E20250214 22:05:42.119347 1738869 DeviceManager.cpp:255] [1001][General Failed] Init device failed. 

E20250214 22:05:42.119383 1738869 MxOmModelDesc.cpp:77] Model setDevice failed, please check the state of device. 

E20250214 22:05:42.119410 1738869 Model.cpp:49] MxModel init failed. ret is: 1001 

E20250214 22:05:42.141431 1738869 MxOmModelDesc.cpp:329] [145003][Error code unknown] Failed to unload model. 

E20250214 22:05:42.141551 1738869 PyModel.cpp:31] Failed to create model_ object.

我要发帖子