ubuntu下widows盘符无法获得可执行权限的问题?

在运行Doris时,想把工作目录放在windows盘符下,但在windows盘符下文件无法赋予可执行权限,导致无法生成缩略图。

解决方法:安装ntfs-3g ntfs-config.

sudo apt-get install ntfs-3g ntfs-config,若顺利安装完成,,则执行sudo ntfs-config,此时会弹出对话框,设置盘符即可。重新启动ubuntu,该盘符下的文件将具有可执行权限。

若ntfs-config安装不上,则需要更新数据源 /ect/apt/source.list,我用的ubuntu13.04就无法安装ntfs-config,我是将ubuntu13.10的source.list复制过来了,如下:

#deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ – Release amd64 (20131016.1)]/ saucy main restricted# See for how to upgrade to# newer versions of the distribution.deb saucy main restricteddeb-src saucy main restricted## Major bug fix updates produced after the final release of the## distribution.deb saucy-updates main restricteddeb-src saucy-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu## team. Also, please note that software in universe WILL NOT receive any## review or updates from the Ubuntu security team.deb saucy universedeb-src saucy universedeb saucy-updates universedeb-src saucy-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu## security team.deb saucy multiversedeb-src saucy multiversedeb saucy-updates multiversedeb-src saucy-updates multiverse## N.B. software from this repository may not have been tested as## extensively as that contained in the main release, although it includes## newer versions of some applications which may provide useful features.## Also, please note that software in backports WILL NOT receive any review## or updates from the Ubuntu security team.deb saucy-backports main restricted universe multiversedeb-src saucy-backports main restricted universe multiversedeb saucy-security main restricteddeb-src saucy-security main restricteddeb saucy-security universedeb-src saucy-security universedeb saucy-security multiversedeb-src saucy-security multiverse## Uncomment the following two lines to add software from Canonical’s## ‘partner’ repository.## This software is not part of Ubuntu, but is offered by Canonical and the## respective vendors as a service to Ubuntu users.# deb saucy partner# deb-src saucy partner## Uncomment the following two lines to add software from Ubuntu’s## ‘extras’ repository.## This software is not part of Ubuntu, but is offered by third-party## developers who want to ship their latest software.# deb saucy main# deb-src saucy main

记得输入命令:sudo apt-get update,更新数据源;

妩媚动人,让我感受到了大自然的神奇。

ubuntu下widows盘符无法获得可执行权限的问题?

相关文章:

你感兴趣的文章:

标签云: