Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225189

Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster]

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster]
Date Fri, 24 Jul 2020 15:50:01 +0200
Message-ID <Aw6ff-7W6-3@gated-at.bofh.it> (permalink)
References <AvcmJ-7vA-1@gated-at.bofh.it> <Avlgm-4px-23@gated-at.bofh.it> <AvoQW-6DX-5@gated-at.bofh.it> <AvGEa-K9-35@gated-at.bofh.it> <AvSFk-82V-7@gated-at.bofh.it> <Aw4n8-6Oy-1@gated-at.bofh.it> <Aw4wO-6RD-5@gated-at.bofh.it> <Aw4wO-6RD-3@gated-at.bofh.it> <Aw5VT-7Ps-3@gated-at.bofh.it>
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Jul 24 13:42:48 2020
Old-Return-Path <wanderer@fastmail.fm>
X-Amavis-Spam-Status No, score=-12.897 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=fm3; bh=lLYnal0Ox5xe1XlQ7ArID/K5oxY q+MhiqzDoWk7r2Uk=; b=NRbVXLljyIeeftV2QBYYoFN7xh4q/feTw53ISNnXEtA B0d2bbTnWu7lXfL2DGH+y2NiUFQU+bf3azK/GUAM3pZ05ZTPVYpojXnekL5GGIeX b3eyRoOrOhg8gjitFFo9xsShJsaHTBp9kLfrEfq+lTBrRODXYDH9ZXphTf8438Wx 4RmiRr/45WSC1V6TPButIKNnPBD9N8tR51+KTtmXi2AjapGWNByFAwAcenLqlzIq MJTFjHWfiE35qRRCXtVtM5Hq+JjMpB/fyFX4BKZ10EQVUBarm03PxNwxtR2Kcyoz II/BMv8TFZqq//lu5j/kfGd/1Gt96M3ee+V2CBPGbZw==
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=lLYnal 0Ox5xe1XlQ7ArID/K5oxYq+MhiqzDoWk7r2Uk=; b=HUFNhiXVeXqi6ltdBQb6bV WKNvvaGtHpVKu7z6DoVK2GCpZeZ4z+tEXk5bEMFfHSxsRKGOy9LEqREgnUNylBQY r6957SRZCdcBBsaXSy8Mv6SCMFJzCWq6xqA5W5YLlLxHoDE6gr1plrwBT9mTKlUa 4rj52MOSegZXxKwE6pG7Wl4N+DxvvoQeMl5fz/XvN7Bphkt3t7ZM4XlJAWDWQeW2 szQ3VTV06bN3eaupfEv9fRfjP5/3smvJXtH6wAkIb6wCIakjdJLvL/2d7gplyK3S J+QRR2DIBgxwxvp/vrVWU9tnfmcGzi5pqsg5TdnT5LRjQ9Gc3tdeKimwqwkWjZcw ==
X-Me-Sender <xms:R-UaX5OJ_iD_ZfTGzQTbI8o36gLhu6lVeNn159PD2TWAo1-S9ohFXg>
X-Me-Proxy-Cause gggruggvucftvghtrhhoucdtuddrgeduiedrheefgdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffhfhofgggvffufhgjtgesghdtrg fotdefjeenucfhrhhomhepvfhhvgcuhggrnhguvghrvghruceofigrnhguvghrvghrsehf rghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpefgkeelgeeileffkefgheehhe egfeegjeffleeffeeuueevkeevudeihefggeeifeenucffohhmrghinhepuggvsghirghn rdhorhhgnecukfhppedutdekrdehuddrleegrddvnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepfigrnhguvghrvghrsehfrghsthhmrghilhdr fhhm
X-Me-Proxy <xmx:R-UaX7_BdFHvUY-lveYpbkZgDblzhIrkG4wxSNymwOLDxD_Nax9S7A> <xmx:R-UaX4RwPMpMH_ihw5PMG9WqbAxn1dr4RRu4ClQGauIiUaVn0Ww_Rg> <xmx:R-UaX1vsZd-rwcdGPlI13KtGZAB_nKX97Nx72FfpySkVq8r9-N_Lwg> <xmx:R-UaX88hS6BveNWjZOFo8kx08itqXbFX11SFuT8OmenlCDSkMzDfOA>
Organization This space intentionally left blank.
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VAPnxSwN5WlVNLlo1tF4NJHPxdXSa6WGc"
X-Mailing-List <debian-user@lists.debian.org> archive/latest/765515
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/5F1AE540.4080802@fastmail.fm
Approved robomod@news.nic.it
Lines 74
Sender robomod@news.nic.it
X-Original-Date Fri, 24 Jul 2020 09:42:24 -0400
X-Original-Message-ID <5F1AE540.4080802@fastmail.fm>
X-Original-References <5445829.3Tn0VsCLCc@s32> <20200722113854.GU22833@eeg.ccf.org> <20200722152624.dren37jvdpjuhi2q@qusp> <20200723102650.cof5usjjs2u3ordk@acr13.nuvreauspam> <5F1A1A36.2010204@fastmail.fm> <20200724114531.GG22833@eeg.ccf.org> <5F1ACAC6.3080207@fastmail.fm> <20200724115427.GH22833@eeg.ccf.org> <20200724132247.GA5154@tuxteam.de>
Xref csiph.com linux.debian.user:225189

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On 2020-07-24 at 09:22, tomas@tuxteam.de wrote:

> On Fri, Jul 24, 2020 at 07:54:27AM -0400, Greg Wooledge wrote:
> 
>> On Fri, Jul 24, 2020 at 07:49:26AM -0400, The Wanderer wrote:
>> 
>>> Sounds like a case where directly editing the underlying device,
>>> to modify inode-or-equivalent contents such that the slash is no
>>> longer
>             ^^^^^
> Nitpick: the directory entry is the one carrying the name.

I had the impression that even a directory is stored in/as something
that is at least analogous to an inode. Is there a different term that's
more appropriate for the on-disk structure which holds a directory, vs.
'inode' for the one that holds a file?

>>> there, might even be *advisable*.
>> 
>> Yeah, some sort of direct hex-edit on the unmounted file system's 
>> device might be the only way to rename the file.
> 
> If you have ext<n> (for n>=2), you're lucky (actually, aren't we
> all, with so many high-quality file systems to choose from?).
> 
> The file system check utility seems to take care of it (at least,
> the source code [1] suggests that).

> [1] https://sources.debian.org/src/e2fsprogs/1.45.6-1/e2fsck/pass2.c/?hl=494:503#L494

It does seem to suggest that, but when I run

$ /sbin/e2fsck /tmp/testfs

on the tiny filesystem created as in my previous mail, it doesn't report
finding any problems and seem to change anything.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error while trying to install openssh-server on Buster rhkramer <rhkramer.s32@gmail.com> - 2020-07-22 04:10 +0200
  Re: Error while trying to install openssh-server on Buster Andrew Cater <amacater@gmail.com> - 2020-07-22 13:10 +0200
    Resolved (without understanding ;-) (was: Re: Error while trying to install openssh-server on Buster) rhkramer <rhkramer.s32@gmail.com> - 2020-07-22 20:40 +0200
      Re: Resolved (without understanding ;-) (was: Re: Error while trying  to install openssh-server on Buster) Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-22 21:00 +0200
        Re: Resolved (without understanding ;-) (was: Re: Error while trying to install openssh-server on Buster) rhkramer@gmail.com - 2020-07-22 22:30 +0200
      Re: Resolved (without understanding ; -) (was: Re: Error while trying  to install openssh-server on Buster) David Wright <deblis@lionunicorn.co.uk> - 2020-07-22 21:30 +0200
        Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) <tomas@tuxteam.de> - 2020-07-23 10:20 +0200
          Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) David Wright <deblis@lionunicorn.co.uk> - 2020-07-24 01:50 +0200
            Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) <tomas@tuxteam.de> - 2020-07-24 11:00 +0200
              Re: Resolved (without understanding ; -) (was: Re: Error while  trying to install openssh-server on Buster) Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 11:10 +0200
                Antipatterns and Handcuffs [was: Re: Resolved (without understanding  ...] <tomas@tuxteam.de> - 2020-07-24 11:30 +0200
  Re: Error while trying to install openssh-server on Buster Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-22 13:40 +0200
    Re: Error while trying to install openssh-server on Buster Jonathan Dowland <jon+debian-user@dow.land> - 2020-07-22 17:30 +0200
      Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-23 12:30 +0200
        slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 01:20 +0200
          Re: slashes in filenames [was Re: Error while trying to install openssh-server on Buster] Stefan Monnier <monnier@iro.umontreal.ca> - 2020-07-24 01:30 +0200
          Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 13:50 +0200
            Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 14:00 +0200
              Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 15:30 +0200
                Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 15:50 +0200
                Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:10 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Michael Stone <mstone@debian.org> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 16:00 +0200
                Re: slashes in filenames [was Re: Error while trying to install  openssh-server on Buster] <tomas@tuxteam.de> - 2020-07-24 16:10 +0200
            Re: slashes in filenames [was Re: Error while trying to install openssh-server  on Buster] The Wanderer <wanderer@fastmail.fm> - 2020-07-24 14:00 +0200
        Re: Error while trying to install openssh-server on Buster Jonathan Dowland <jon+debian-user@dow.land> - 2020-07-24 16:10 +0200
          Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 16:20 +0200
            Re: Error while trying to install openssh-server on Buster <tomas@tuxteam.de> - 2020-07-24 18:00 +0200
              Re: Error while trying to install openssh-server on Buster Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-24 20:50 +0200
                Re: Error while trying to install openssh-server on Buster Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-24 21:20 +0200
                Re: Error while trying to install openssh-server on Buster <tomas@tuxteam.de> - 2020-07-25 11:40 +0200
    Re: Error while trying to install openssh-server on Buster Anssi Saari <as@sci.fi> - 2020-07-22 20:50 +0200

csiph-web