* [gentoo-user] FYI NFS file / directory confusion on 4.13.7
@ 2017-10-17 4:38 Adam Carter
0 siblings, 0 replies; only message in thread
From: Adam Carter @ 2017-10-17 4:38 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
[-- Attachment #1: Type: text/plain, Size: 1180 bytes --]
I have /usr/portage/distfiles nfs shared, and emerge has broken because of
this;
>>> Emerging (1 of 3) net-wireless/wpa_supplicant-2.6-r3::gentoo
* Fetching files in the background.
* To view fetch progress, run in another terminal:
* tail -f /var/log/emerge-fetch.log
bash: /usr/portage/distfiles/.__portage_test_write__: Is a directory
rm: cannot remove '/usr/portage/distfiles/.__portage_test_write__': Is a
directory
distfiles # ls -la
total 756
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 .
drwxr-xr-x 175 portage portage 4096 Mar 24 2017 ..
drwxrwxr-x 2 root portage 188416 Oct 17 10:30
.pinentry-1.0.0.tar.bz2.portage_lockfile
drwxrwxr-x 2 root portage 188416 Oct 17 10:30 .__portage_test_write__
drwxrwxr-x 2 root portage 188416 Oct 17 10:30
.wpa_supplicant-2.6.tar.gz.portage_lockfile
distfiles # touch test
distfiles # ls -l
total 188
drwxrwxr-x 2 root portage 188416 Oct 17 10:31 test
distfiles # file *
test: directory
distfiles # ls *
ls: reading directory 'test': Not a directory
distfiles #
On the server they show up as files to both ls and file, so it appears to
be an NFS bug. Gentoo-sources 4.13.7 has the issue but 4.13.5 is ok.
[-- Attachment #2: Type: text/html, Size: 1347 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-17 4:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 4:38 [gentoo-user] FYI NFS file / directory confusion on 4.13.7 Adam Carter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox