blkid runing for user not root

The place to discuss linux version of MakeMKV
Post Reply
Message
Author
vikozo
Posts: 10
Joined: Wed May 29, 2019 6:01 pm

blkid runing for user not root

#1 Post by vikozo » Sun Mar 27, 2022 1:31 pm

hello
another problem
blkid which would give the CD/DVD information is only working as root
sudo chmod +x /usr/sbin/blkid
is not working

what would be the command to have everybody to read the name of the disk?

have a nice day
vinc

bmillham
Posts: 155
Joined: Mon Mar 27, 2017 12:42 am

Re: blkid runing for user not root

#2 Post by bmillham » Sun Mar 27, 2022 9:52 pm

Code: Select all

brian@nimon:~$ ls -l /usr/sbin/blkid
-rwxr-xr-x 1 root root 121096 Feb  7 08:33 /usr/sbin/blkid

Code: Select all

brian@nimon:~$ blkid
/dev/sdb1: UUID="766E-B2AE" TYPE="vfat" PARTUUID="e78d1718-57ec-4ddf-9ef5-d50f589bf293"
/dev/sdb2: UUID="2cbf85b9-d27c-48ae-b427-8de462ef22d0" UUID_SUB="40f28c85-bfa4-4b90-b007-5a0d2170380e" TYPE="btrfs" PARTUUID="6f74f31a-6f99-4a24-8fdd-c42e1be89cf8"
/dev/sr0: UUID="b4af35244150504c" LABEL="DIAGNOSIS_MURDER_S8D1" TYPE="udf"
Works for me without changing permissions on blkid (and changing permissions on a system file is normally a bad idea!)

You are probably best to take your issues to the support forums for the linux distro that you are using. I'd guess you have far more problems than just blkid not working.

emrysblack
Posts: 19
Joined: Tue Feb 01, 2022 3:38 pm

Re: blkid runing for user not root

#3 Post by emrysblack » Sun Mar 27, 2022 10:07 pm

Check and make sure you've got the 755 permissions. If so, something else may be going on.

Post Reply