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 http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ saucy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ 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 http://cn.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ saucy universe
deb http://cn.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ 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 http://cn.archive.ubuntu.com/ubuntu/ saucy multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ saucy multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ 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 http://cn.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb-src http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb-src http://security.ubuntu.com/ubuntu 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 http://archive.canonical.com/ubuntu saucy partner
# deb-src http://archive.canonical.com/ubuntu 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 http://extras.ubuntu.com/ubuntu saucy main
# deb-src http://extras.ubuntu.com/ubuntu saucy main



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

    

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。