Directory that a customer can read, yet origin can not?

There is a directory site below my homedir called ".gvfs". As my normal customer account, I can read it simply great :

~ $ ls -lart ~raldi/.gvfs
total 4
dr-x------  2 raldi raldi    0 2009-05-25 22:17 .
drwxr-xr-x 60 raldi raldi 4096 2009-05-25 23:08 ..
~ $ ls -d ~raldi/.gvfs
dr-x------ 2 raldi raldi 0 2009-05-25 22:17 /home/raldi/.gvfs

However, as origin I can not "ls" or perhaps "ls - d" it :

# ls ~raldi/.gvfs
ls: cannot access /home/raldi/.gvfs: Permission denied
# ls -d ~raldi/.gvfs
ls: cannot access /home/raldi/.gvfs: Permission denied

And, simply to see to it :

# echo $UID $EUID
0 0

This is simply a straightforward residence installment of Ubuntu 8.10, no NFS or anything unusual like that. I see that the directory site is significant non - globe - legible (and also non - globe - x - able), yet I assumed none of that used when you are origin. As an example, I can make a setting - 000 directory site in/ tmp and also offer it away to a non - origin customer, and also origin has no problem reviewing it, creating it, whatever.

Any kind of suggestion what is taking place?

2019-12-02 02:56:33
Source Share
Answers: 2

It could be a couple of points, in order of likelyhood

  • check/ var/log/messages (or/ var/log/syslog) for feasible filesystem corruption
  • are you making use of SELinux?
  • google recommends lsattr ~ raldi/. gvfs might show unique capacities being related to that documents.
2019-12-03 04:41:12

From :

This is all unfavorable, yet its a choice that has actually been taken by the fuse individuals at the bit degree (customer apart from the one that placed the fs can not access it, consisting of origin) and also there is absolutely nothing we can do concerning it.

Additionally see :

The remedy appears to be to upgrade your /etc/fuse.conf and also enable the user_allow_other alternative. You might additionally require to after that get gvfs to pass the allow_root or allow_other, yet I am not exactly sure just how to do this.

Certainly it might be a lot easier to merely surrender on all the GUI devices like gvfs and also place your filesystems from command line where you have full control of specifically just how something obtains placed.

2019-12-03 04:39:53