ITPub博客

首页 > 数据库 > Oracle > -bash: ./backup.sql: Permission denied

-bash: ./backup.sql: Permission denied

原创 Oracle 作者:jane_pop 时间:2014-10-20 15:48:21 0 删除 编辑
今天运行一个备份脚本backup.sql的时候出现如下错误提示:
[oracle@localhost scripts]$ ./backup.sql
-bash: ./backup.sql: Permission denied

这实际上是权限问题,只需进行如下操作即可:
[oracle@localhost scripts]$ su
Password: 
[root@localhost scripts]# chmod u+x *.sql

之后,脚本就可以顺利运行了。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29800581/viewspace-1304802/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: scn和timestamp
请登录后发表评论 登录
全部评论
So glad that I'm dark enough to see your light.

注册时间:2014-08-11

  • 博文量
    83
  • 访问量
    563747