I have my 1tb drive which have my flutter projects. My drive always asks for administrative permission. Whenever I save files it asks permission and also shows error showing denial of permission. Please help me remove this file from use of administrative or completely allow this drive for administrative permission.
Asked
Active
Viewed 261 times
1
1 Answers
-2
Here's a solution(Do this in a terminal). It will change the permission of all the files in the drive to your user(So, be careful):
- Go to the directory where you have mounted your hard disk.
- Change the drive's permissions to belong to you. type this
sudo chown -R <your-username> .
and then enter your root(admin) password.
And you won't need root(administrative) permissions to change any part of the drive anymore.

tavish
- 21
-
Please be careful. This will recursively change all files and folders in the whole location. That might or might not be what OP intends. Without further information from OP, I would not recommend doing that. – pLumo Mar 19 '21 at 06:57
-
ls -la "/path/to/mount"
Where/path/to/mount/
is something like/media/username/harddrive
. – pLumo Mar 19 '21 at 06:59