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

 
 

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

Submitter:  Andreas Metzler <ametzler>
Submitted:  Sat 17 Sep 2005 07:54:41 AM UTC
   
 
Category:  documentation Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  4.2.25 Fixed Release:  4.2.26
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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 Files:
   
   
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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-11-19 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.26
2005-09-17 jay StatusNone Fixed
    Assigned toNone jay
2005-09-17 ametzler Attached File- Added fix-permdocs.diff, #2956

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code