[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Permission denied" from dired, but not from ido completion in tramp
From: |
Michael Albinus |
Subject: |
Re: "Permission denied" from dired, but not from ido completion in tramp |
Date: |
Sun, 16 Jun 2024 15:55:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Philipp Middendorf <pmidden@mailbox.org> writes:
> Hi Adam, hi Michael,
Hi Philipp,
> ls -ld returns:
>
> dr-xr-x--- 6 fsdata fsdata 4096 Jun 7 13:00
> /asap3/petra3/gpfs/p11/2024/data/11019260
Interesting. It doesn't show any ACL or SELinux indication in its
permissions string, like "dr-xr-x---+" or "dr-xr-x---." And the
permissions are the same as 'stat' has returned, according to your debug
buffer:
--8<---------------cut here---------------start------------->8---
08:06:14.997750 tramp-send-command (6) # tramp_stat_file_attributes
/asap3/petra3/gpfs/p11/2024/data/11019260/ 2>/dev/null; echo tramp_exit_status
$?
08:06:15.041234 tramp-wait-for-regexp (6) #
(("‘/asap3/petra3/gpfs/p11/2024/data/11019260/’") 6 ("fsdata" . 26666)
("fsdata" . 6666) 1718366406 1717758044 1717758044 4096 "dr-xr-x---" t
11510012908 -1)
tramp_exit_status 0
///e9cd6126f97f56eae6b23d28b13a86f7#$
--8<---------------cut here---------------end--------------->8---
That's what Tramp confuses.
> And mount | grep asap3 returns:
>
> core1 on /asap3 type gpfs (rw,relatime)
Well, I guess gpfs is a non-standard file system type, isn't it?
Wikipedia tells me, it is "General Parallel File System, brand name IBM
Storage Scale and previously IBM Spectrum Scale". Aha.
'stat' doesn't return proper information in this case. However, 'test' does:
--8<---------------cut here---------------start------------->8---
08:06:10.158264 tramp-send-command (6) # test -r
/asap3/petra3/gpfs/p11/2024/data/11019260/ 2>/dev/null; echo tramp_exit_status
$?
08:06:10.206211 tramp-wait-for-regexp (6) #
tramp_exit_status 0
///e9cd6126f97f56eae6b23d28b13a86f7#$
--8<---------------cut here---------------end--------------->8---
Exit code 0 means, that the directory is readable.
> Hope that helps.
Yep. I've pushed a fix to the Tramp repository, which should handle this
case. Do you have a chance to install Tramp from git, and test it? You
don't need the defalias anymore. Instead, set the new user option
tramp-use-file-attributes to nil.
> Cheers
> Philipp
Best regards, Michael.
- Re: "Permission denied" from dired, but not from ido completion in tramp, (continued)
- Re: "Permission denied" from dired, but not from ido completion in tramp, Philipp Middendorf, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Philipp Middendorf, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Philipp Middendorf, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Adam Sjøgren, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/15
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/16
- Re: "Permission denied" from dired, but not from ido completion in tramp, Philipp Middendorf, 2024/06/16
- Re: "Permission denied" from dired, but not from ido completion in tramp,
Michael Albinus <=
- Re: "Permission denied" from dired, but not from ido completion in tramp, Philipp Middendorf, 2024/06/17
- Re: "Permission denied" from dired, but not from ido completion in tramp, Michael Albinus, 2024/06/18
- Re: "Permission denied" from dired, but not from ido completion in tramp, Adam Sjøgren, 2024/06/16