首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > VSTS >

【转】ubuntu10.10上面 ntfs-config不能使用的解决方法

2012-07-26 
【转】ubuntu10.10下面 ntfs-config不能使用的解决办法?来自:http://forum.ubuntu.org.cn/viewtopic.php?f4

【转】ubuntu10.10下面 ntfs-config不能使用的解决办法

?

来自:http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=297164
报错信息:Traceback (most recent call last):??File "/usr/bin/ntfs-config", line 102, in <module>?? ?main(args, opts)??File "/usr/bin/ntfs-config", line 75, in main?? ?app = NtfsConfig()??File "/usr/lib/pymodules/python2.6/NtfsConfig/NtfsConfig.py", line 56, in __init__?? ?os.mkdir(HAL_CONFIG_DIR)OSError: [Errno 2] 没有那个文件或目录: '/etc/hal/fdi/policy'
解决办法:打开“ /usr/lib/pymodules/python2.6/NtfsConfig/NtfsConfig.py ”文件,修改56行,即将“os.mkdir(HAL_CONFIG_DIR)”改为“os.makedirs(HAL_CONFIG_DIR)”。然后以根用户权限运行ntfs-config。即可解决

热点排行