Bug 1113

Summary: Permissions on /dev/null /dev/zero
Product: [Retired] Red Hat Raw Hide Reporter: stewart
Component: devAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-02-12 17:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description stewart 1999-02-11 03:42:29 UTC
Ok for the longest time, I thought this was an armv4l/rpm
problem.  Now I'm not too certain.  When I rebuild
dev-2.6-2.src.rpm it gets some permissions wrong.  The ones
I know are /dev/null and /dev/zero.  These used to be
[root@zhadum SPECS]# ls -l /dev/null /dev/zero
crw-rw-rw- 1 root root       1,   3 Jun 25  1998 /dev/null
crw-rw-rw- 1 root root       1,   5 May  5  1998 /dev/zero

But are now:
[root@zhadum dev]# ls -l null zero
crw-r--r--   1 root     root       1,   3 May  5  1998 null
crw-r--r--   1 root     root       1,   5 May  5  1998 zero

Looking in the spec file, I see that the `p' option was not
used when untaring.  Adding it in seems to fix things.

Comment 1 Jeff Johnson 1999-02-12 17:51:59 UTC
The Raw Hide dev-2.6-3 rpm uses -p when untarring.
Please reopen this bug if using that src.rpm doesn't fix your
problem.