Why are 'chown' and 'chgrp' not working?

0

I've just installed Ubuntu 10.10 AMD-64 and mounted several partitions into /mnt/ directory. Now I want to be able to perform operations on those partitions without limitations. I'm trying to change the owner and group but it doesn't work. I'm typing sudo chown username filename to perform the operations.

Denys S.

Posted 2011-02-12T16:52:15.827

Reputation: 410

What error are you getting if any? – BloodPhilia – 2011-02-12T16:57:14.583

No error, simply no effect from the commands. – Denys S. – 2011-02-12T17:08:32.880

Are you getting prompted for the password at all? – None – 2011-02-12T18:43:30.023

Answers

3

What filesystems are those partitions using? FAT32, ext3, ...?

  • Such filesystems as FAT do not support file ownership at all. You have to specify the default owner in mount options, or let GNOME/udisks handle the mounting.

  • NTFS does support file ownership and ACLs, but I'm not sure if this feature is enabled in the ntfs-3g version that comes with Ubuntu.

user1686

Posted 2011-02-12T16:52:15.827

Reputation: 283 655

It's NTFS and it's actually not enabled. Thank you. – Denys S. – 2011-02-12T22:51:46.793