GNU bug report logs - #28440
fts_info is set to FTS_DP for an Unreadable directory instead of FTS_DNR on s390x

Previous Next

Package: coreutils;

Reported by: Prajakta Bhatekar <prajakta_bhatekar <at> persistent.com>

Date: Wed, 13 Sep 2017 05:28:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28440 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Prajakta Bhatekar <prajakta_bhatekar <at> persistent.com>, 28440 <at> debbugs.gnu.org
Subject: Re: bug#28440: fts_info is set to FTS_DP for an Unreadable directory
 instead of FTS_DNR on s390x
Date: Mon, 29 Oct 2018 19:24:00 -0600
tags 28440 notabug
close 28440
stop

(triaging old bugs)

Hello,

On 2017-09-12 9:56 p.m., Prajakta Bhatekar wrote:
> I have a piece of code that checks for access to a non-root user to perform a recursive chown operation on a directory with its child directory having 0 permissions(all permission bits set to zero)
> 
> It uses the` fts_info` flags of FTSENT structure returned by fts_read().For s390x architecture(big endian), it is seen that the value of fts_info for the unreadable directory is set as 6 (FTS_DP) corresponding to postorder directory instead of 6 (FTS_DNR) which is an Unreadable directory . For x86 architecture (little endian), expected behaviour is observed as fts_info is FTS_DNR.
> 

It seems your message was lost and not replied to in a year.
Sorry about that.

From your question it appears you are asking a programming question,
but this is the GNU coreutils mailing list - used to report
bugs in GNU coreutils programs (e.g. sort/head/tail/cut/dd).

As such, I'm closing this as "not a bug".

regards,
 - assaf




This bug report was last modified 6 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.