Bug 163515 - [patch] b64encode(1)/uuencode(1) create files with no permissions
Summary: [patch] b64encode(1)/uuencode(1) create files with no permissions
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 8.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2011-12-21 20:30 UTC by Walter C. Pelissero
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:

file.diff (778 bytes, patch)
2011-12-21 20:30 UTC, Walter C. Pelissero
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Walter C. Pelissero 2011-12-21 20:30:09 UTC
	b64encode when called with just one argument (input from
	stdin), but specifying an output file with the -o option,
	creates the file with mode 000 (that is, none is allowed to do
	anything with it).  Same behaviour is assumed from uuencode,
	being the same executable.

Fix: Apply the following patch:
How-To-Repeat: 	b64encode -o file.encoded file < /dev/null
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:31 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped