Change permissions - permission denied
I try to recover a HDD from my NAS, using Diskinternals linux reader (program running under Windows) but one folder had the rights specifically for one user.
So I now have the problem that I can’t copy/move this folder and it’s files. I tried under Linux different chmod with as last chmod -R 777 ./ But that didn’t work How can I change the rights to the Stack folder, it looks like i'm missing rwx on the 3 last positions (when compared to the other) Code:
drwxrwxrwx+ 13 root kali 4096 Aug 17 09:31 Public |
What is the OS used on the NAS and how is it configured?
The NAS itself is blocking access and using 'chmod -R 777 ./' is not really a good idea since that affects both directories and files under the stated beginning folder. For other users to access either Stack or UserOne the NAS must be configured to allow that. Start with the config on the NAS and don't damage things with random chmod commands. |
The operating system of the NAS is based on Linux.
Problem is that the NAS does not work anymore so I had to remove the HDD. No way to change the users permissions that way. All I want now is to rescue my files and format the HDD to be used somewhere else Is there a possibility to access and copy the folder 'Stack' ? |
Quote:
The key is booting the HDD on a system that gives you root access. Once bypassed, you can backup or copy out the Stack folder and reformat for reuse. |
This depends on the disks health status. If the disk is corrupted you might not be able to access the disk.
You can boot any Linux live system. Then mount the disk. Switch user to root (using su). Then do a chmod 777 Stack. This might not work since you do not have a kali group on the live system. If that does not work you can use chmod o=rwx Stack. This will only change permissions for users not in the files group. |
All times are GMT -5. The time now is 08:27 AM. |