on my laptop, I have 1TB HDD and 120G SSD. SSD is boot and ext4. On other hand my 1TB (/dev/sdb1) drive is catering storage as NTFS partition.
/dev/sdb1 932G 16G 917G 2% /media/makrand/ntfs-store
1TB NTFS was created using Gparted few months back. I was running a vagrant to spin up few VMs. All vagrant boxes are stored on NTFS partition folder, so the vagrantfile. While I was spinning up VM using vagrant, I faced some error with auth_key. I looked up and realized that ALL things on NTFS are 777 the moment I create anything on that partition. chmod or chown (with and without sudo) just DO NOT work. Your run it and it neither give success or error message.
I never used NTFS with linux before. For some reasons I need to stick with NTFS here. Is it the case that all things on NTFS goes to 777 by default? Very strange indeed.
This is Mint XFCE 19 latest.
Code: Select all
makrand@mint-gl63:/media/makrand/ntfs-store$ ls -l
total 12
drwxrwxrwx 1 makrand makrand 4096 Oct 15 18:20 nix-data
drwxrwxrwx 1 makrand makrand 4096 Oct 15 17:58 tmpl
drwxrwxrwx 1 makrand makrand 4096 Oct 8 20:00 vbox_vms
drwxrwxrwx 1 makrand makrand 0 Jul 27 22:49 win-data
makrand@mint-gl63:/media/makrand/ntfs-store$ cd nix-data/
makrand@mint-gl63:/media/makrand/ntfs-store/nix-data$ ls -l
total 327876
-rwxrwxrwx 1 makrand makrand 54090226 Sep 1 15:50 google-chrome-stable_current_amd64.deb
-rwxrwxrwx 1 makrand makrand 1630 Jul 30 18:49 graphics
makrand@mint-gl63:/media/makrand/ntfs-store/nix-data$ chmod 700 google-chrome-stable_current_amd64.deb
makrand@mint-gl63:/media/makrand/ntfs-store/nix-data$ sudo chmod 700 google-chrome-stable_current_amd64.deb
[sudo] password for makrand:
makrand@mint-gl63:/media/makrand/ntfs-store/nix-data$ ls -l
total 327876
-rwxrwxrwx 1 makrand makrand 54090226 Sep 1 15:50 google-chrome-stable_current_amd64.deb
-rwxrwxrwx 1 makrand makrand 1630 Jul 30 18:49 graphics
-rwxrwxrwx 1 makrand makrand 116420 Oct 15 18:20 libpng12-0_1.2.54-1ubuntu1.1_amd64.deb