[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] ntfs only accessible by root



On 8/25/05, Geoffrey <esoteric at 3times25.net> wrote:
> 
> The directory perms have nothing to do with it.  Check the mounting
> perms.  If it's not listed in /etc/fstab, then add it.
> 
> Again, you don't want to write to an nfts fs from Linux.  Unless you
> don't want to use it anymore as an ntfs filesystem.
> 

An example fstab line:

/dev/hda1 /win-ntfs ntfs ro,uid=1000,gid=1000 0 0

If you want read-write (only safe in later 2.6 kernels, and not full
write support, only edits files (cannot create new files, nor change
the size of existing ones)):

/dev/hda1 /win-ntfs ntfs rw,uid=1000,gid=1000 0 0

Replate uid and gid with the user that you want to give permissions
to.  Changing NTFS permissions is currently impossible with Linux
because of the scheme that is used to do it... NTFS doesn't use
permissions in the way that any UNIX ever really has.

  - Mike