Topic: [solved] Directory permissions

Hi,

Somehow, one of my hard drive folders has Owner:Group set to root:root and I am unable to write to any files.
I have tried changing ownership with sudo chown but this does not seem to work... any suggestions?

I thought my fstab file entry would allow read/write as default

/dev/sda2 /media/DATA   ntfs defaults,nls=utf8,umask=0222 0 0

Thanks in advance.

Last edited by Kino (2010-09-12 13:33:08)

Re: [solved] Directory permissions

this might come from usage of "ntfs" instead of "ntfs-3g" in the /etc/fstab. i think the first one does not allow for write acces (can you write as root?). sorry i dont know how to do it myselfe but you can try some research on "fstab"+"ntfs"+"ntfs-3g"
good luck
luc

Re: [solved] Directory permissions

Well, I eventually found a way to make it work.
My fstab entry is now

/dev/sda2 /media/DATA   ntfs-3g defaults,nls=utf8,user,uid=1000,umask=007 0 0

uid=1000 sets me as the user and
umask =007 allows read/write