FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 01-27-2009, 05:43 AM
Zaki Akhmad
 
Default Mount NTFS: Permission and Owner

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello,

I am mounting NTFS partition from my Debian. Can somebody tell me, why
the permission and owner of my mounted NTFS partition is like this:

$ ls -l
- -rwxrwxrwx 2 root root 7282 2008-06-22 21:04 200px-AdditiveColorMixing.png
- -rwxrwxrwx 2 root root 195795 2008-09-17 15:55 432022605_02ae4f41ee.jpg
- -rwxrwxrwx 2 root root 3440185 2008-01-18 18:17 50_Tutorial_01.pdf
- -rwxrwxrwx 1 root root 29351 2008-09-17 16:06 70.png
- -rwxrwxrwx 2 root root 10331 2008-06-13 14:39 belajar-oo.odt
drwxrwxrwx 1 root root 4096 2008-10-30 14:35 Bellua
- -rwxrwxrwx 2 root root 12419976 2008-04-13 10:43
BIOS_Disassembly_Ninjutsu_Uncovered.pdf

It's mounted as a root and 777 permission.

Here's my fstab

$ more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda3 / ext3 defaults,errors=remount-ro 0 1
/dev/sda7 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sda5 /media/zara ntfs-3g defaults 0 0
/dev/sda1 /media/winXP ntfs-3g defaults 0 0

- --
Zaki Akhmad

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org

iEYEARECAAYFAkl+rRYACgkQT4k8JfIMt5fQFgCfYgKAzS6dJF htxjcZgmYMFTzx
vdQAnjzay6xGr9WIftrR6PY9RT9lLXh/
=QrU4
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-27-2009, 07:34 AM
Johannes Wiedersich
 
Default Mount NTFS: Permission and Owner

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zaki Akhmad wrote:
> I am mounting NTFS partition from my Debian. Can somebody tell me, why
> the permission and owner of my mounted NTFS partition is like this:

If you visit

http://www.google.com/linux

and copy/paste the subject of your mail into the text box, you'll get
quite a few links that will help you answer your question.

- From the description of the package:
/--------
$ aptitude show ntfs-3g
[...]
Description: read-write NTFS driver for FUSE
The ntfs-3g driver is an open source, GPL licensed, third generation
Linux NTFS driver which was implemented by the Linux-NTFS project. It
provides full read-write access to NTFS, excluding access to encrypted
files, writing compressed files, changing file ownership, access right.
--------
ie. 'excluding access to access right'

There are also man pages. Try 'man mount.ntfs-3g'.

'apropos ntfs' shows a list of other related man pages that are
installed on your system.

Cheers,

Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl+xzIACgkQC1NzPRl9qEXpLgCffx9vGxLL4h 7BwZhO2vcWmh7x
KgoAni2juxoaPxAWSmxx+tcRdL5v+Hsw
=VZPi
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-27-2009, 03:18 PM
Eduardo M KALINOWSKI
 
Default Mount NTFS: Permission and Owner

Zaki Akhmad wrote:
>
> Hello,
>
> I am mounting NTFS partition from my Debian. Can somebody tell me, why
> the permission and owner of my mounted NTFS partition is like this:
>
> $ ls -l
> -rwxrwxrwx 2 root root 7282 2008-06-22 21:04
> 200px-AdditiveColorMixing.png
> -rwxrwxrwx 2 root root 195795 2008-09-17 15:55 432022605_02ae4f41ee.jpg
> -rwxrwxrwx 2 root root 3440185 2008-01-18 18:17 50_Tutorial_01.pdf
> -rwxrwxrwx 1 root root 29351 2008-09-17 16:06 70.png
> -rwxrwxrwx 2 root root 10331 2008-06-13 14:39 belajar-oo.odt
> drwxrwxrwx 1 root root 4096 2008-10-30 14:35 Bellua
> -rwxrwxrwx 2 root root 12419976 2008-04-13 10:43
> BIOS_Disassembly_Ninjutsu_Uncovered.pdf
>
> It's mounted as a root and 777 permission.

If you mean NTFS's permissions, you're out of luck. If you want the
files to be owned by a specific user in your Linux box and have
different permissions, read ntfs-3g's man page. The first options listed
there are those you need.

--
No passes accepted for this engagement.

Eduardo M KALINOWSKI
eduardo@kalinowski.com.br
http://move.to/hpkb


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 10:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org