NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Weird permission problem



On March 11, 2016 4:20:22 PM EST, Jan Danielsson <jan.m.danielsson%gmail.com@localhost> wrote:
>Hello,
>
>   One of our systems started exhibiting an odd behavior recently.  All
>Of A Sudden(tm) (no changes to the system), programs in /usr/pkg could
>no longer be run; whenever I try to run anything I get a permission
>error.  Here's what's really strange, at least to me:  It's not a
>separate mount (it resides in the same mount as /).  Listing the files
>obviously shows that the execute permissions are set as they should,
...
>be able to look into it more closely.  Until then, anyone have a clue
>as
>to what may have happened?  Any non-destructive things I should try? 

Maybe see what "file" thinks of the executables.  Then try "ldd" to see if perhaps they're linked against something that disappeared.
Do binaries copied from /bin to /usr/pkg continue to work?
Do binaries copied the other way start working?
Does "pkg_admin check" say that the checksums of anything has changed?

Eric



Home | Main Index | Thread Index | Old Index