[zfs-discuss] Unlistable files

Vladimir Brik vladimir.brik at icecube.wisc.edu
Fri Apr 6 09:40:38 EDT 2018


> How about just doing the 'ls -ld dst/a' so we can have a look.
# ls -ld output-final-r/NuTau
drwxr-xr-x 2 root root 7000 Apr  3 16:28 output-final-r/NuTau
(I am root)

Note that only some files in output-final-r/NuTau (what I previously
called dst/a) are missing/un-listable. Majority are fine.

Directory output-final-r was created by by "cp -r output
output-final-r". It has 3604 (out of 83988 that are supposed to be
there) files missing/un-listable. All of the missing files are in
NuMu_spice3_2_scatabs and NuTau:

# ls -la output-final-r/
total 18925
drwxr-xr-x 14 root  root    14 Apr  3 16:58 .
drwxr-xr-x 10 vbrik vbrik   25 Apr  5 15:09 ..
drwxr-xr-x  2 root  root  7001 Apr  3 11:44 NuE
drwxr-xr-x  2 root  root  7001 Apr  3 12:28 NuE_spice3_2_abs
drwxr-xr-x  2 root  root  7001 Apr  3 16:58 NuE_spice3_2_scat
drwxr-xr-x  2 root  root  7001 Apr  3 12:16 NuE_spice3_2_scatabs
drwxr-xr-x  2 root  root  7001 Apr  3 15:12 NuMu
drwxr-xr-x  2 root  root  7001 Apr  3 12:59 NuMu_spice3_2_abs
drwxr-xr-x  2 root  root  7001 Apr  3 17:24 NuMu_spice3_2_scat
drwxr-xr-x  2 root  root  7000 Apr  3 12:03 NuMu_spice3_2_scatabs
drwxr-xr-x  2 root  root  7000 Apr  3 16:28 NuTau
drwxr-xr-x  2 root  root  7001 Apr  3 12:42 NuTau_spice3_2_abs
drwxr-xr-x  2 root  root  7001 Apr  3 12:35 NuTau_spice3_2_scat
drwxr-xr-x  2 root  root  7001 Apr  3 15:29 NuTau_spice3_2_scatabs



Vlad



On 04/06/2018 01:54 AM, Sander Klein via zfs-discuss wrote:
> On 2018-04-06 08:16, Gionatan Danti via zfs-discuss wrote:
>> Il 06-04-2018 06:42 Richard Elling via zfs-discuss ha scritto:
>>>
>>> this can occur if you don’t have read permission on the directory
>>> ls -ld dst/a
>>>
>>>   -- richard
>>
>> This seems not the case: he can do "cp dst/a/foo bar" and correctly
>> list "bar", so read permission should be granted.
> 
> How about just doing the 'ls -ld dst/a' so we can have a look. If you do
> not have read permissions on the dir you can still read/modify/whatever
> the file if you know it's name...
> 
> Sander
> 
> 
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
> 


More information about the zfs-discuss mailing list