Message Board -  Archive

[ Login ] [ Create Account ]
[ Board List ] [ View Board ] [ Post Reply ]
  Author  Subject: RE: mount HD with ntfs file system

Posted on 06-14-2003 11:23 p.m. ET  reply

Original Poster: Jym Williams Zavada

>The permission on the file foo.doc is: r-- --- ---
>If I try: >chmod 777 foo.doc the response is:
>chmod: changing permissions of 'foo.doc': Read only file system
>and the permission remains: r-- --- ---

You cannot change anything on a read-only filesystem, which is precisely the
reason why it is called "read-only". You can only read from it, and to change
something, you would have to be able to write to it.

However, all is not lost. According to the man page for the 'mount' command,
by default on the ntfs filesystem, "files are owned by root and not readable
by somebody else", but there are options for changing user and group
ownership, as well as setting the umask (which determines permissions). So,
try the following mount command line, and see if that gives you permission to
read the files.

mount -t ntfs -o umask=022 /dev/hda2 /mnt/DOS_hda2

If that doesn't work, try:

mount -t ntfs -o uid=value /dev/hda2 /mnt/DOS_hda2

(Where "value" is the uid number for the username that you want to allow read
permissions on the files.)

< Previous 1 Next >

Site Contents