Web lists-archives.com

Re: Can't scan new disk




On 2019-02-20, Mark Allums <mark@allums.email> wrote:
> On 2/20/19 3:19 AM, Curt wrote:
>> On 2019-02-20, Mark Allums <mark@allums.email> wrote:
>>>>>
>>>> Maybe something simple like "lsof" command can shed some light on this
>>>> problem?
>>>>       $ sudo lsof /dev/sdb
>>>>       $ sudo lsof /dev/sdb1
>>>
>>> root@martha:~# lsof /dev/sdb
>>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
>>>         Output information may be incomplete.
>>> root@martha:~# lsof /dev/sdb1
>>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1001/gvfs
>>>         Output information may be incomplete.
>>> root@martha:~#
>> 
>>>From what I'm reading you'll have to be martha for this and not root
>> (*une fois n'est pas coutume*), if martha mounted.
>
> martha is the name of the server.

I said if. Poor martha.  Whoever mounted.
>
>>>From man mount.fuse:
>> 
>>   SECURITY
>>     The fusermount program is installed set-user-gid to fuse. This is done to
>>     allow users from  fuse group to mount their own filesystem implementations.
>>     There must however be some limitations, in order to prevent Bad User from doing
>>     nasty things.  Currently those limitations are:
>> 
>>     1.     The user can only mount on a mountpoint, for which it has write permission
>> 
>>     2.     The mountpoint is not a sticky directory which isn't owned by the user (like /tmp usually
>>                is)
>> 
>>     3.     No other user (including root) can access the contents of the mounted filesystem.
>> 
>> 
>
> The disk is not mounted.

I don't think it matters (as you seem to have demonstrated).



-- 

When you have fever you are heavy and light, you are small and swollen, you
climb endlessly a ladder which turns like a wheel. 
Jean Rhys, Voyage in the Dark