I can’t change directory and file permissions which is in /mnt/ through elevated Nemo. But can change in /. Why?

Apparently, this happens due to Automount. Because when I mount manually, this problem doesn’t occur.

I also changed /mnt/Storage to /media/user/Storage/ on auto mount, still the same problem occurs.

uploaded on reddit because lemmy doen’t allow videos .sorry for the quality reddit squashed it. Also my user name is blurred.

Also this an automounted NTFS partition, if it has to do anything with this,

I tried restarting. Doesn’t work.

I know about chown and chmod. But I wanna do it in GUI.

==============================================================

SOLVED

Include uid= and gid= as part of your mount options.

For More info look at this.

Thanks to this Chad @neidu@feddit.nl

  • @neidu2@feddit.nl
    link
    fedilink
    3
    edit-2
    2 months ago

    /mnt is owned by root (by default, anyway), and I suspect /mnt/Storage is too. Did your GUI ask for a sudo password at any point?

    • @gpstarmanOP
      link
      12 months ago

      I suspect /mnt/Storage is too

      It is

      It asked when open nemo as root. And didn’t asked when I change the permissions.( Because nemo is already root, I suppose)

      • @neidu2@feddit.nl
        link
        fedilink
        42 months ago

        You might want to include uid= and guid= as part of your mount options. Not sure how that’ll work with NTFS, but it’s worth a try

        • @gpstarmanOP
          link
          12 months ago

          include uid= and guid= as part of your mount options.

          Where ? How?

          • @neidu2@feddit.nl
            link
            fedilink
            3
            edit-2
            2 months ago

            Above the mount point option.

            I normally do this by editing /etc/fstab directly, but the syntax seems very similar. The first answer here provides an example of the syntax.

            • @gpstarmanOP
              link
              22 months ago

              It worked. Thank you so much man.

  • @Tyoda@lemm.ee
    link
    fedilink
    2
    edit-2
    2 months ago

    Your issue is that NTFS by default doesn’t support the same file permissions as Linux uses.

    You can change what permissions an NTFS partition will be mounted with.

    You can also get around it with user files or something to have proper full permission support, but I’m not familiar with this.

    Something like this thread should have all the answers: https://askubuntu.com/questions/11840/how-do-i-use-chmod-on-an-ntfs-or-fat32-partition/

    (best is to avoid NTFS, if you can)

    • @gpstarmanOP
      link
      12 months ago

      Thank You. I’m scared about possible data loss (if any) when changing NTFS permissions on Linux.

  • @Rooki@lemmy.world
    link
    fedilink
    12 months ago

    What does it do if you right click => properties => Permission and cant you change it there? Or does it reset every restart?

    • @gpstarmanOP
      link
      12 months ago

      cant you change

      Yes. Please watch the video.

      I tried restarting. Doesn’t work.