Questing verification:

Installed sudo-rs package is from proposed:

root@build-questing:~/test# apt list --installed sudo-rs
sudo-rs/questing-proposed,now 0.2.8-1ubuntu5.3 amd64 [installed,automatic]
Notice: There are 2 additional versions. Please use the '-a' switch to see them.


1. Create file
root@build-questing:~/test# touch test.sh

2. Make sure it does not have exec permissions
root@build-questing:~/test# ls -l test.sh 
-rw-r--r-- 1 root root 0 Jan 20 17:06 test.sh

3. Run sudo on the file
root@build-questing:~/test# sudo ./test.sh 
sudo-rs: cannot execute '/root/test/test.sh': Permission denied (os error 13)

sudo returns permission denied without showing any stack trace.

** Tags removed: verification-needed-questing
** Tags added: verification-done-questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130973

Title:
  Sudo-rs panics executing shell script without execute permission

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rust-sudo-rs/+bug/2130973/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to