M
M
MaxxDamage2019-03-25 15:15:49
Debian
MaxxDamage, 2019-03-25 15:15:49

Lost access with rights?

Hello. Recently I ran into a problem - I lost access to some files on the file storage, mostly executables. There is a file server on Debian, network drives are raised via Samba. There are two physical disks, 3 network directories are mounted on them. A couple of days ago, the system began to swear at the lack of rights on both disks at once. The owner is root, I perform operations under root, I set the rights to 777 - it's still impossible to perform an operation with the file, allegedly due to lack of rights. If you copy from under MC, it gives two errors: "Unable to open source file /xxx.exe Access denied (13)" and "Unable to get properties of source file /xxx.exe Victory (0)". I checked the file system, including using spare superblocks - it did not help. I would sin for damaging files, but why only executables and on both disks at once? As an example, in the same directory as one of the "problem" executables, there are text files, operations with them are carried out freely. lsattr to problem files gives Permission Denied While reading flags on filename.exe. Lsof is silent about these files. I was advised to try debugfs, but I do not quite understand how to apply it in this situation.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question