【转】ubuntu10.10上面 ntfs-config不能使用的解决方法
【转】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。即可解决