Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
using mounted ntfs partition as a normal user???
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
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Sep 25, 2004 8:09 pm    Post subject: using mounted ntfs partition as a normal user??? Reply with quote

Hi,

I've been reading and googling a lot about this but didn't find the answer to the following problem:

I mounted one of the ntfs partitions on my disk the followwing way (output mount-command):

/dev/hdb7 on /mnt/f type ntfs (rw,gid=100,umask=0007)

so ls -l /mnt says:

drwxrwx--- 1 root users 4096 Sep 22 21:55 f

but although my user is in the users group it's not possible to write anyting into that f directory.

touch /mnt/f/test.txt returns:

touch: cannot touch `/mnt/f/test.txt': Permission denied

would be nice if someone could help me getting this fixed... thanx in advance
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 8:12 pm    Post subject: Reply with quote

The kernel included ntfs driver doesn't provide write support by default.
It's quite dangerous to do and only a few very special operations should be done writable to a mounted ntfs partition.
So IMHO your system behaves as it should.

Use captive if you like to have ntfs write support as it seems you need.
http://www.jankratochvil.net/project/captive/
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Sep 25, 2004 8:22 pm    Post subject: Reply with quote

thanx for your reply

but... I especially compiled my kernel with the NTFS write-support enabled (it's 2.6.8-r4 kernel on amd64 btw)... so I expected it to work this way... what else would that option be for?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 9:01 pm    Post subject: Reply with quote

mwiertz wrote:
thanx for your reply

but... I especially compiled my kernel with the NTFS write-support enabled (it's 2.6.8-r4 kernel on amd64 btw)... so I expected it to work this way... what else would that option be for?

IIRR it's only save to write with the ntfs driver to a ntfs partition if you "modify a file that already existed and you do not change it's size".
There are some very special situations when you wanna do that. Example is to have linux installation reside on a ntfs partition as a file, when it's not possible to create your own linux partition.
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sat Sep 25, 2004 9:09 pm    Post subject: Reply with quote

OK...

in other words, the NTFS write is not ready to be used in my daily work... thought it would be a great way to share files between my xp and linux installs... have to look for something else I think...

any suggestions? (maybe the other direction - using ext3/reiserfs partitions under xp?)

thanx anyway
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Sep 25, 2004 9:15 pm    Post subject: Reply with quote

mwiertz wrote:
OK...

in other words, the NTFS write is not ready to be used in my daily work... thought it would be a great way to share files between my xp and linux installs... have to look for something else I think...

any suggestions? (maybe the other direction - using ext3/reiserfs partitions under xp?)

thanx anyway

Use captive as mentioned earlier it's for full write support on ntfs, you just have to install it and use the captive driver instead the ntfs one.

And yes there are few programs capable to read ext2/3 under XP but I never tested one. Or you could create a vfat formated share partition.
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Sat Sep 25, 2004 10:03 pm    Post subject: Reply with quote

inode77 wrote:
Or you could create a vfat formated share artition.


I also vote for this. Been doing it since I first tried Linux a few years back.
NTFS support is a "nicety" - and it's a moving target. I *really* wouldn't want to screw up an NTFS partition in my environment.
VFAT is well known and stable - just carve out a conveniently sized partition and clean it up occasionally.
Back to top
View user's profile Send private message
Fitzsimmons
Guru
Guru


Joined: 01 Jan 2003
Posts: 415
Location: Waterloo, Ontario, Canada

PostPosted: Sun Sep 26, 2004 6:30 pm    Post subject: Reply with quote

There are also ext2/3 and reiserfs read programs/drivers for windows, and one program has experimental (probably unsafe) write. I would also reccomend using vfat to share files, but I'll link you up with those ext/resier utilities anyway:

rfstool: read only reiserfs, commandline tool, worked for me, not the nicest interface though

Explore2fs: read and apperently write, never tested by me, GUI interface

EXT2IFS: makes ext2 drives mountable as readonly media in windows, as if they would look like any other readonly device in My Computer, etc. Never tested by me

Good luck
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sun Sep 26, 2004 7:06 pm    Post subject: Reply with quote

thanx everyone,

think I'm gonna try getting it doen by vfat (fat32) or maybe ext2 (because of the vfat 4GB limitation) - is ext2 also limited - does anyone know?
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sun Sep 26, 2004 8:31 pm    Post subject: Reply with quote

mwiertz wrote:
thanx everyone,

think I'm gonna try getting it doen by vfat (fat32) or maybe ext2 (because of the vfat 4GB limitation) - is ext2 also limited - does anyone know?

If you mean 4GB maximum file size, then ext2 is limited to 2GB for its maximum file size.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Sun Sep 26, 2004 8:49 pm    Post subject: Reply with quote

thanks, but what about the maximum partition size?
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sun Sep 26, 2004 8:58 pm    Post subject: Reply with quote

They both support up to 2TB. ext2 might support 4TB, but I don't remember, its atleast 2.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
mwiertz
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2003
Posts: 88
Location: Selfkant, Germany

PostPosted: Mon Sep 27, 2004 5:37 am    Post subject: Reply with quote

thank you again,

that means only the max filesize might be a problem for me (AV-editing and DVD-images)...
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