[root@DB1 ~]# /bin/su - oracle -c “/usr/local/bin/cloudfuse -o tenant=<>,username=<>,password=<>,cache_timeout=1,use_snet=false,authurl=http://.../v2.0,allow_other /share”
fuse: failed to exec fusermount: Permission denied
[root@DB1 ~]# which fusermount
/bin/fusermount
[root@DB1 ~]# ll /bin/fusermount
-rwsr-x—. 1 root fuse 32336 Dec 8 2011 /bin/fusermount
[root@DB1 ~]# groups oracle
oracle : oinstall dba
[root@DB1 ~]# usermod -a -G fuse oracle
[root@DB1 ~]# groups oracle
oracle : oinstall fuse dba
[root@DB1 ~]# /bin/su - oracle -c “/usr/local/bin/cloudfuse -o tenant=<>,username=<>,password=<>,cache_timeout=1,use_snet=false,authurl=http://.../v2.0,allow_other /share”
fusermount: option allow_other only allowed if ‘user_allow_other’ is set in /etc/fuse.conf
[root@DB1 ~]# echo “user_allow_other”>>/etc/fuse.conf
[root@DB1 ~]# /bin/su - oracle -c “/usr/local/bin/cloudfuse -o tenant=<>,username=<>,password=<>,cache_timeout=1,use_snet=false,authurl=http://.../v2.0,allow_other /share”
电信云存储非root用户(oracle)挂载
最新推荐文章于 2023-02-03 11:11:34 发布