mounting NTFS on ubuntu

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Feb 11 08:45:36 UTC 2007


Pushparaj Shetty wrote:
> I gave the foolowing command
> #mount -t ntfs /dev/sda1 /mnt/CWindow/
> It accepted. But when I tried to open the folder;
> It says
> You do not have the permissions necessary to view the contents of "CWindow".

Okay, edit (as root) the file /etc/fstab .

Add a line like:

/dev/sda1 /mnt/CWindow ntfs
defaults,nls=utf8,umask=0077,uid=1000,gid=1000 0 1

That should be only one line.  Replace the uid and gid numbers (1000 in
this case) with the values for your user and group.  To find these
values, type the command (NOT as root):

id

In my case, I get something beginning with:

uid=1000(matthew) gid=1000(matthew)

You should use the numbers you get.

Then restart and the partition should mount automatically and give you
access.

sudo mount /mnt/CWindow

Let me know what happens.

Matthew Flaschen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070211/047b69de/attachment.sig>


More information about the ubuntu-users mailing list