Lose access if you have permission?

Hello. Recently encountered a problem - cannot access parts of files on a file storage, mostly executables. There is a file server on Debian using Samba raised network drives. Physically two drives, they are mounted 3 network directory. A couple of days ago the system started to swear on absence of the rights to both drives at once. The owner is root, without root access, right put 777 - still impossible to perform the operation with the file, supposedly due to the lack of rights. If you copy from under the MC throws two errors: "can't open source file /xxx.exe Denied (13)" and "unable to get properties of the source file /xxx.exe Victory (0)". File system checked, including using the spare superblocks - did not help. Sin on the file corruption, but why only allow executables and immediately on both drives? As an example, in the same directory where one of the "problem" ekzeshnika, are text files, operations on them are held freely. lsattr to problem file gives access is Denied While reading flags on filename.exe. Lsof for these files is silent. Advised to try debugfs, but do not quite understand how it in this situation to apply.
March 19th 20 at 08:29
1 answer
March 19th 20 at 08:31
The owner is root, without root access

To itself spiteful Buratino.

Change the owner to myself:
chown-R user:group /home/user/dir/
How I can help change the owner to yourself, if I in the system is logged in as root, and still not have the capacity to conduct operations on the file? Why at exactly the same rights, some files are accessible, others not? - Myron.Herman83 commented on March 19th 20 at 08:34
@Myron.Herman83on the server even installed anything? Type ClamAV or so? - phoebe.Greenfelde commented on March 19th 20 at 08:37
@phoebe.Greenfelde, kav4fs, and all - Myron.Herman83 commented on March 19th 20 at 08:40
@Myron.Herman83, well, there's your answer, turn it off at a time and check again :) - phoebe.Greenfelde commented on March 19th 20 at 08:43
@phoebe.Greenfelde, Yes, already tried, thanks for the tip. Casper forgot. It is unclear why he was mad. However, that's another story. - Myron.Herman83 commented on March 19th 20 at 08:46
@Myron.Herman83helped? - phoebe.Greenfelde commented on March 19th 20 at 08:49
@phoebe.Greenfelde, Yes, there were access, and locally, and network. - Myron.Herman83 commented on March 19th 20 at 08:52

Find more questions by tags Debian