You are not logged in.

#1 2011-08-13 14:53:31

altrevo
Member
Registered: 2011-05-20
Posts: 29

filesystem ownership problems

I have a NTFS filesystem mounted to /home and I can't change it's ownership from root.
I've tried chown and chmod, I have the user and owner options on fstab and I still can't change the ownership.
What should I do?

Offline

#2 2011-08-13 14:57:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: filesystem ownership problems

NTFS is not a Linux filesystem and it doesn't know about Linux file / directory permissions. Using NTFS as a filesystem for /home is IMHO a bad idea.

Are you suing ntfs-3g? Post your fstab.

Offline

#3 2011-08-13 15:01:48

altrevo
Member
Registered: 2011-05-20
Posts: 29

Re: filesystem ownership problems

I know it may cause problems, But it's more convinient for me.

/dev/sda2 /home ntfs-3g owner,user 0 2

Offline

#4 2011-08-13 17:28:23

lukaszan
Member
Registered: 2011-05-05
Posts: 117

Re: filesystem ownership problems

+1 for bad idea. NTFS doesn't store ownership/permissions, so you have to specify those in fstab:

/dev/sda2 /home ntfs-3g uid=100,gid=100,umask=022,owner,user 0 2

So you will only be able to have 1 home directory. Plus, all the permissions will be reset every time you mount the drive, so you expose yourself to security risk. Mount it at /home/altrevo/ntfs, or similar.

Offline

Board footer

Powered by FluxBB