-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drive partion issue in kali #22
Comments
*FOR WINDOWS OS*
I would suggest you to follow methods and check if it helps.
*Method 1:*
Step 1: Make sure that you are logged in as an administrator.
Step 2: Try to take ownership of the files and check if it helps.
Taking ownership of a folder from explorer
1) Locate the file or folder on which you want to take ownership in windows
explorer.
2) Right click on file or folder and select “Properties” from Context Menu.
3) Click on "Security" tab.
4) Click on “Advanced” button.
5) Now click on "Owner" tab in Advanced Security Settings for User windows.
6) Click on Edit Button and select user from given Change Owner to list if
user or group is not in given list.
7) Click on other users or groups. Enter name of user/group and click ok.
8) Now select User/group and click apply and ok. Check “Replace owner on
subcontainers and objects” if you have files and folder within selected
folder.
9) Click ok when Windows Security Prompt is displayed.
10) Now Owner name must have changed.
11) Now click Ok to exist from Properties windows.
Once you have taken the ownership of file or folder next part comes is
granting permissions to that file/folder or object.
If the above method doesn’t work, you could try taking ownership from the
command line.
Or Taking ownership of a file or folder from command line
Open an elevated Command Prompt window.
To do so:
a. press windows + X.
b. Select Command Prompt as Administrator.
c. Type the following command and press ENTER:
takeown /f <foldername> /r /d y
d. To assign the Administrators group Full Control Permissions for the
folder, use this syntax:
icacls <foldername> /grant administrators:F /T
The /T parameter is added so that the operation is carried out through all
the sub-directories and files within that folder.
e. To know more information about the above commands, run these commands
from a Command Prompt window.
takeown /?
icacls /?
Once you take ownership, you can grant permissions on those files or
folders.
*FOR LINUX OS*
*sudo chown /path/to/mount/point*
I think this should be working, for further query you can ask me any time.
With regards,
Ashish Rana.
…On Fri, 28 Oct, 2022, 4:58 PM sohail malik, ***@***.***> wrote:
Hi! I am just a beginner starting to learn cybersecurity. I have 2 hard
drives Kali is installed in 1 drive and second one is empty I want to put
my data in the second drive which is empty but I have tried different ways
and till now I have not been able to put my data in the 2nd drive. There is
permission issue. The second drive is read-only and the ownership is also
root I want to change the ownership of that drive and also change the
status to full control. Many thanks!
—
Reply to this email directly, view it on GitHub
<#22>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASR4OJOGDFHYDIT6XTPF3YTWFO2EVANCNFSM6AAAAAARQ7J5JM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I am just a beginner starting to learn cybersecurity. I have 2 hard drives Kali is installed in 1 drive and second one is empty I want to put my data in the second drive which is empty but I have tried different ways and till now I have not been able to put my data in the 2nd drive. There is permission issue. The second drive is read-only and the ownership is also root I want to change the ownership of that drive and also change the status to full control. Many thanks!
The text was updated successfully, but these errors were encountered: