Hello im new using Ubuntu.
I try to change permission from directory in mounted drive but always back to root or user while run command 'chmod'.
i already try this command :
sudo mount -t ntfs -o username=user,rw,uid=1000,gid=1000 /dev/sda1 /media/user/Disk with this command It was successful but failed again and I don't know why. oh fyi I used a drive from a previous Windows Server operating system. so maybe the type here is NTFS. And now im using Ubuntu 22.04.
So what should I add or change in my command? Or am I working on something that has nothing to do with the problem I have? If yes, can you tell me a possible way to change the permissions with chmod or chown if necessary. Of course, access is set to 770 (drwxrwx---) to all directories on the drive. Sorry if my English isn't very good.