[Portland] [Bug 7136] xdg-su without -c prompts for password but does nothing

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Fri Jun 9 20:43:57 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=7136          
     

bryce at bryceharrington.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From bryce at bryceharrington.org  2006-06-09 20:43 -------
I cannot reproduce this bug on gentoo linux using the steps described.

If the current directory is owned by the executing user, then regardless of
whether a correct password is given, foo.txt exists at the termination of the
program.

If the current directory is set as writable only by root and the executing user
is not root, then if a correct password is given, a foo.txt file appears, owned
by root.  If Ignore is specified, then no file is created, and the following
error message appears:

 $ ./xdg-su 'touch foo.txt'
 touch: cannot touch `foo.txt': Permission denied
 $ echo $?
 4

If cancel is clicked instead, the program exits with error code 0, with no
message, and with no file created.

Could you provide some additional details about how to reproduce this bug?
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland mailing list