Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounted ntfs partitions: permissions[Solved]but stil usefull
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
someone_else
n00b
n00b


Joined: 09 Apr 2006
Posts: 24
Location: Pretoria, South Africa

PostPosted: Fri Apr 14, 2006 4:23 pm    Post subject: mounted ntfs partitions: permissions[Solved]but stil usefull Reply with quote

i have two windowsXP NTFS partitions. One, which has my data is set to read/write access and automount. The other, my main windows boot is read-only and not automount.

my fstab:
Code:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb2               /boot           ext2            defaults,noatime        1 1
/dev/hdb4               /               ext3            noatime                 0 1
/dev/hdb3               none            swap            sw                      0 0
/dev/cdroms/cdrom0      /mnt/cdrom      auto            noauto,user             0 0
#/dev/fd0               /mnt/floppy     auto            noauto                  0 0

#WindowsXP drives:
/dev/hda1               /mnt/windows/C  ntfs            ro,noauto,              0 0
/dev/hdb1               /mnt/windows/D  ntfs            defaults,user           0 0

#USB flash disk drive:
/dev/sda1               /mnt/usbstick   vfat            noauto,user,exec,sync   0 0

# NOTE: The next line is critical for boot!
none                    /proc           proc            defaults                0 0

none                    /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
none                    /proc/bus/usb   usbfs           defaults                0 0


in Gnome, i set the permissions of the D drive to Read/Write/Execute for thje group, "users".

An account, called "admin", i can read the root directory of the D but all other subdirectories are locked. admin is a part of the users group amongst others.

Shouldn't the permissions be inherited by all the subdirectories of the partition? There must be an easier way to set the permission either than doing so for each file in the drive!?!??!?!?
_________________
the dumber people think you are, the more surprised they'll be when you kill them.


Last edited by someone_else on Sat Apr 15, 2006 9:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Apr 14, 2006 6:48 pm    Post subject: Reply with quote

See the following as I think they will help you:

http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29

http://gentoo-wiki.com/TIP_Fix_NTFS_Permissions
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
GrimSage
n00b
n00b


Joined: 13 Sep 2004
Posts: 42

PostPosted: Sat Apr 15, 2006 6:44 am    Post subject: NTFS RW Support Does not work Reply with quote

OK I have a dual boot system with Gentoo and Windows 2003. I can mount and read all NTFS drives just fine. However I cannot get write support to work. I have support compiled into the kernel. I can get mount to say that it is rw

Code:

# mount
/dev/hda3 on / type ext3 (rw,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0664,devgid=85)
/dev/hdc on /mnt/cdrom type iso9660 (ro,noexec,nosuid,nodev,user=methos)
/dev/hda1 on /mnt/windows type ntfs (rw,umask=0000)
/dev/sda1 on /mnt/portable type ntfs (rw)

I have been changeing things in fstab and trying different mount commands but whenever I try to do anything I get the following error
Code:

 # touch /mnt/portable/test.fil
touch: cannot touch `/mnt/portable/test.fil': Read-only file system


I tried looking though all the things in the wiki even tried captive but it cannot find the files nessicary to enable rw support.

Does anyone have any idea's?
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sat Apr 15, 2006 11:30 am    Post subject: Reply with quote

NTFS write support is dangerous, even when it works. Don't do it. What is safe and easy, is to access your ext2 and ext3 partitions from Windows instead. Google for Ext2Fsd and explore2fs. The first is an ext2 filesystem driver for Windows (not sure how well it works) and the other is like Windows Explorer, only it explores your ext2 partitions. (it works fine)

Just in case you didn't already know, ext3 can be treated as ext2 for file copy purposes.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
someone_else
n00b
n00b


Joined: 09 Apr 2006
Posts: 24
Location: Pretoria, South Africa

PostPosted: Sat Apr 15, 2006 9:04 pm    Post subject: NTFS write support is not "really" supported Reply with quote

although they say that the kernel module supports write access to NTFS. it actually doesnt(probably need to especially hack it to work). I read this in one of the Gentoo Howto's possibly one of the above.

yes hmmm..actually its in the config info in the kernel:

Quote:
NTFS write support NTFS_RW

This enables the partial, but safe, write support in the NTFS driver.

The only supported operation is overwriting existing files, without
changing the file length. No file or directory creation, deletion or
renaming is possible. Note only non-resident files can be written to
so you may find that some very small files (<500 bytes or so) cannot
be written to.

While we cannot guarantee that it will not damage any data, we have
so far not received a single report where the driver would have
damaged someones data so we assume it is perfectly safe to use.

Note: While write support is safe in this version (a rewrite from
scratch of the NTFS support), it should be noted that the old NTFS
write support, included in Linux 2.5.10 and before (since 1997),
is not safe.

This is currently useful with TopologiLinux. TopologiLinux is run
on top of any DOS/Microsoft Windows system without partitioning your
hard disk. Unlike other Linux distributions TopologiLinux does not
need its own partition. For more information see
<http://topologi-linux.sourceforge.net/>

_________________
the dumber people think you are, the more surprised they'll be when you kill them.
Back to top
View user's profile Send private message
cuchumino
Guru
Guru


Joined: 24 Nov 2004
Posts: 428

PostPosted: Sat Sep 23, 2006 12:45 pm    Post subject: Reply with quote

yabbadabbadont wrote:
See the following as I think they will help you:

http://gentoo-wiki.com/HOWTO_Mount_Windows_partitions_%28DOS%2C_FAT%2CNTFS%29

http://gentoo-wiki.com/TIP_Fix_NTFS_Permissions


the second link was of great help to me. it made me mount the ntfs partition the way i wanted it to mount

thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum