码迷,mamicode.com
首页 > 系统相关 > 详细

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

时间:2015-02-27 18:26:26      阅读:231      评论:0      收藏:0      [点我收藏+]

标签:

       在运行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更新数据源;

    

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

标签:

原文地址:http://blog.csdn.net/ivan_ljf/article/details/43970409

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!