Splitted from this issue: #1456
Directory listing permissions. Using root/davs protocol permissions and owner uid/gid reported back to the client are wrong.

-bash-4.2$ gfal-ls -l davs://xrootd-redir.ultralight.org:1094/store/user/jbalcas/1GB_File
-rwxrwxrwx   0 0     0     1048576000 May 19  2020 davs://xrootd-redir.ultralight.org:1094/store/user/jbalcas/1GB_File
-bash-4.2$ gfal-ls -l davs://transfer-10.ultralight.org:1094/store/user/jbalcas/1GB_File
-rwxrwxrwx   0 0     0     1048576000 May 19  2020 davs://transfer-10.ultralight.org:1094/store/user/jbalcas/1GB_File
-bash-4.2$ gfal-ls -l root://xrootd-redir.ultralight.org:1094/store/user/jbalcas/1GB_File
-r--------   1 3000  3000  1048576000 May 19  2020 root://xrootd-redir.ultralight.org:1094/store/user/jbalcas/1GB_File
-bash-4.2$ gfal-ls -l root://transfer-10.ultralight.org:1094/store/user/jbalcas/1GB_File
-r--------   1 3000  3000  1048576000 May 19  2020 root://transfer-10.ultralight.org:1094/store/user/jbalcas/1GB_File

while correct permissions are:

[root@transfer-10 ~]# ll /storage/cms/store/user/jbalcas/1GB_File
-rw-rw-r-- 1 root jbalcas 1048576000 May 19  2020 /storage/cms/store/user/jbalcas/1GB_File
[root@transfer-10 ~]# stat /storage/cms/store/user/jbalcas/1GB_File
  File: ‘/storage/cms/store/user/jbalcas/1GB_File’
  Size: 1048576000	Blocks: 2048000    IO Block: 4194304 regular file
Device: 2ch/44d	Inode: 1099511856847  Links: 1
Access: (0664/-rw-rw-r--)  Uid: (    0/    root)   Gid: ( 3000/ jbalcas)
Access: 2021-05-10 15:40:00.427772762 -0700
Modify: 2020-05-19 15:56:21.000000000 -0700
Change: 2021-05-10 15:40:00.428772803 -0700
 Birth: -

Configs/Versions running described here: #1456 (comment)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1458", "url": "https://github.com/xrootd/xrootd/issues/1458", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1