From:
[email protected]
Package: pmount
Version: 0.9.23-9
Severity: normal
1) Mount smth with command /usr/bin/pmount --debug PART
2) Look at pmount output and see no evidence of HAVE_BLKID code executed
3) Check ldd and package dependency and indeed there is libblkid
4) Look at the HAVE_BLKID code in src/pmount.c. Suspect that
tp = blkid_get_tag_value(c, "TYPE", device) is NULL.
pmount don't have a message for this case, sadly.
5) Now run (already SUID) /usr/bin/pmount --debug as root (e.g. with
sudo) and see that:
blkid gave FS vfat for '/dev/sdb1'
Interesting why tp is NULL in SUID case but not NULL when run as root.
Tried with ext4 and vfat/fat32 partitions.
lsblk -f detects fs types both without sudo and suid.
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)