`/root/.gvfs':
Permission denied"
when executed by non-root users
when executed by non-root users
Today while running one maintenance script on oracle
database I am getting below error also getting same error while check file
system space via "df" command,
[oracle@oem252
NFS]$ ./run_script.sh
/u01/app/oracle/product/11.2.0.4/dbhome_1/bin/oracle:eeeeeeeeeeeeeeeeeeeeeeeeeeeeee
./run_script.sh:
line 720: [: too many arguments
/bin/df: `/root/.gvfs': Permission denied
Cause
fuse is mounted at ~/.gvfs with rw
when user log into GNOME desktop. If root is logged in GNOME desktop then
/root/.gvfs will be mounted and be inaccessible to non-root users.
[oracle@oem252 NFS]$ rpm -qa | egrep "fuse|gvfs"
gvfs-afc-1.4.3-15.el6.x86_64
fuse-2.8.3-4.0.2.el6.x86_64
gvfs-1.4.3-15.el6.x86_64
gvfs-obexftp-1.4.3-15.el6.x86_64
gvfs-archive-1.4.3-15.el6.x86_64
gvfs-fuse-1.4.3-15.el6.x86_64
gvfs-smb-1.4.3-15.el6.x86_64
gvfs-gphoto2-1.4.3-15.el6.x86_64
fuse-libs-2.8.3-4.0.2.el6.x86_64
[oracle@oem252 NFS]$ w
08:19:15 up 47 min, 3 users,
load average: 0.91, 1.13, 1.25
USER TTY
FROM LOGIN@ IDLE
JCPU PCPU WHAT
root tty1
:0 07:33 46:53
2.18s 2.18s /usr/bin/Xorg :0 -nr
-verbose -audit 4 -auth /var/r
root pts/0
:0.0 07:36 40:11
1.52s 0.00s
/usr/bin/system-config-lvm
root pts/1
192.168.1.7 07:37 3.00s
0.07s 0.00s w
[oracle@oem252 NFS]$ mount | grep gvfs
gvfs-fuse-daemon on
/root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
08:19:15 up 47
min, 3 users, load average: 0.91, 1.13, 1.25
USER TTY
FROM LOGIN@ IDLE
JCPU PCPU WHAT
root tty1
:0 07:33 46:53
2.18s 2.18s /usr/bin/Xorg :0 -nr
-verbose -audit 4 -auth /var/r
root pts/0
:0.0 07:36 40:11
1.52s 0.00s
/usr/bin/system-config-lvm
root pts/1
192.168.1.7 07:37 3.00s
0.07s 0.00s w
[oracle@oem252 NFS]$ mount | grep gvfs
gvfs-fuse-daemon on
/root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
Solution
To Get rid of this
message `/root/.gvfs': Permission denied"
1.
Exclude
fuse.gvfs-fuse-daemon type file system with the help of system admin or
2. Logout the Gnome session as root user and login
with new oracle <oracle installer user >
No comments:
Post a Comment