Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Partial plugin destroyed

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

hziro

Neophyte
Joined
Jan 9, 2021
Messages
6
Dear All,

thanks in advance whom can help me.

This morning i played (my mistake) in the shell with permissions, i changed the permissions of my "MNT", and after that my plugins stopped to run and if i try to install new one the system show me this error "test had a failure Exception: RuntimeError Message: pkg error: - pkg-static: . permissions (0774) too lax Please check your network Partial plugin destroyed".

There is any chance to restore the package or something in order to avoid the hard restore?
 

Attachments

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
2,695
ls -ld /mnt will show the permissions of the /mnt directory. On my system, they look like:

Code:
drwxr-xr-x  3 root  wheel  128 Sep 30 08:46 /mnt/
 

hziro

Neophyte
Joined
Jan 9, 2021
Messages
6
The permissions are ok.
The problem is the pkg destroyed, due to that i can't install or use plugins.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
2,695
The error message is complaining about the permissions of pkg-static as 0774. This should be 0755:

Code:
root@raven:~ # ls -l /usr/local/sbin/pkg-static
-rwxr-xr-x  1 root  wheel  6490488 Sep 30 08:41 /usr/local/sbin/pkg-static*
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
2,695
chmod 0755 /usr/local/sbin/pkg-static
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
2,695
What does ls -l /usr/local/sbin/pkg-static show?
 
Top