bugfindutils - Bugs: bug #14556, find.1 manpage still refers to...

 
 

bug #14556: find.1 manpage still refers to "-perm +mode" instead of "-perm /mode"

Submitted by:  Andreas Metzler <ametzler>
Submitted on:  Sat 17 Sep 2005 07:54:41 AM UTC  
 
Category: documentationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: 4.2.25Fixed Release: 4.2.26

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 20 Nov 2005 10:19:26 PM UTC, comment #4:

Done; in fact there were some other cases too (in find.1, locate.1 and xargs.1) which I took care of.

Anonymous
Sun 20 Nov 2005 08:27:01 AM UTC, comment #3:

Hej,

could you throw in the dash-escaping, as per comment #2?

s_-4000_\-4000_

thanks, cu andreas

Andreas Metzler <ametzler>
Sun 18 Sep 2005 07:41:55 AM UTC, comment #2:

I wrote:

> +.B find / \t\e( \-perm -4000 \-fprintf /root/suid.txt '%#m %u %p\en' \e) , \e


darn. The dash should be escaped, i.e.

+.B find / \t\e( \-perm \-4000 \-fprintf /root/suid.txt '%#m %u %p\en' \e) , \e

sorry, cu andreas

Andreas Metzler <ametzler>
Sat 17 Sep 2005 09:44:37 PM UTC, comment #1:

Fixed on the trunk - as per your suggestion I have not read the patch.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 17 Sep 2005 07:54:41 AM UTC, original submission:

find.1 still documents the old syntax

find -perm +mode

instead of

find -perm /mode

Attached patch fixes this. As my copyright assignment is still pending you might want to re-generate this yourself, it is a no-brainer, just replace any -perm +... with -perm /... except for

-.B find / \t\e( \-perm +4000 \-fprintf /root/suid.txt '%#m %u %p\en' \e) , \e
+.B find / \t\e( \-perm -4000 \-fprintf /root/suid.txt '%#m %u %p\en' \e) , \e

where the usage of the GNU extension is superfluous and "-" can be used instead.
cu andreas

Andreas Metzler <ametzler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #3195:  fix-permdocs.diff added by ametzler (2KiB - text/plain - bugfix)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 19 Nov 2005 09:47:13 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.26
Sat 17 Sep 2005 09:44:37 PM UTCjayStatusNone=>Fixed
  Assigned toNone=>jay
Sat 17 Sep 2005 07:54:41 AM UTCametzlerAttached File-=>Added fix-permdocs.diff, #2956

Back to the top


Powered by Savane 3.1-cleanup1