• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

NTFS drive mounted in Linux

shud

Golden Member
Ok, I need some help with this. Somewhere between my mount line and SMB perms (although I doubt it's a SMB problem), my Windows user "Shud" (without quotes obviously) can't write files to this particular drive, though I can see it and browse it.

Here's the mount line in fstab:

/dev/hdb1 /mnt/mp3 ntfs users,owner,rw,umask=0777

I don't quite understand the umask stuff yet, but a friend of mine told me that basically the first # sets no sticky and the other 3 enable read, write, and execute.

Yet I still get permissions denied errors from Windows when I try to copy a file over. Why is this?
 
umask is wrong, unless you wan tto remove all permissions from files you write.

Read the manpage for fstab, it probably has a way to set the user or something.
 
Originally posted by: shud
fstab and manpage for mount aren't that informative.

So I don't need the umask at all?

The manpages are quite informative. Try the uid option.

You probably don't need umount.
 
If it's a local NTFS drive you won't get write permission no matter what you do, it's disabled in the driver because it's not safe. You could try the Captive NTFS driver which uses the MS NTFS.sys driver for the writing, but I wouldn't trust it myself.
 
Originally posted by: Nothinman
If it's a local NTFS drive you won't get write permission no matter what you do, it's disabled in the driver because it's not safe. You could try the Captive NTFS driver which uses the MS NTFS.sys driver for the writing, but I wouldn't trust it myself.

It's a network drive. It's mounted in the Linux box but that box will never do any writing itself...all of that will come from a Windows XP machine connecting to the drive as a share.
 
So you have the box physically in the Linux box and you want to mount it and share it via Samba so that Windows machines can write to it? Still wont' work. If you want the Windows clients to be able to write to the drive Linux has to be able to write to the drive because it'll be doing all of the writing on their behalf. The local filesystem is irrelevant when network clients are involved, they only see a SMB/CIFS share regardless of filesystem. If the local filesystem mattered you wouldn't be able to get to half of the web servers in the world because they run some form of unix and Windows has no drivers for ext3, XFS, ufs, ffs, etc filesystems.
 
Originally posted by: Nothinman
So you have the box physically in the Linux box and you want to mount it and share it via Samba so that Windows machines can write to it? Still wont' work. If you want the Windows clients to be able to write to the drive Linux has to be able to write to the drive because it'll be doing all of the writing on their behalf. The local filesystem is irrelevant when network clients are involved, they only see a SMB/CIFS share regardless of filesystem. If the local filesystem mattered you wouldn't be able to get to half of the web servers in the world because they run some form of unix and Windows has no drivers for ext3, XFS, ufs, ffs, etc filesystems.

Alright, thanks. Looks like I won't be installing MythTV anytime soon. 🙁
 
really, why use NTFS on that? If you need, you could use ext2/3 and load the Ext driver into windows if you had to recover data from the drives.
 
Originally posted by: nweaver
really, why use NTFS on that? If you need, you could use ext2/3 and load the Ext driver into windows if you had to recover data from the drives.

The drives I want to mount are both nearly full and total more than 400gb. One of them is full of high quality MP3 rips that I've done from CDs that I don't have access to (either didn't belong to me or I left at my parent's house).

The other is full of TV episodes and whatnot. All of this stuff would take ages to burn to DVD and backup.
 
Back
Top