Unable to mount ntfs drive with permissions options

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Unable to mount ntfs drive with permissions options

Postby Voidless » Fri Apr 05, 2013 5:15 am

Hi, I currently have a problem with a ntfs drive I use on which I need to mount with the permissions mount option so I can chown some folder on it to give access to my apache webserver.

I use udevil with devmon for mounting and I adjusted the udevil.conf appropriately to add permissions to the allowed_options as well as to the default_options_ntfs. I enabled logging in udevil and this is the command ran to mount my drive:

$this->bbcode_second_pass_code('', '@04 Apr 2013 23:20:08::root$ /usr/bin/udevil --mount /dev/sdb2 --mount-options noexec,nosuid,nodev,noatime
ROOT: /bin/mount -t ntfs -o nosuid,noexec,nodev,noatime,permissions,utf8,noexec,nosuid,nodev,noatime /dev/sdb2 /media/flex
Mounted /dev/sdb2 at /media/flex
')

I guess the fact that some options are doubled here is that some comes from the devmon default?

However after the drive is mounted I still can't use chown on any files or folder present on the drive...
when I just run mount to display my mounted drive, here is what it lists :

$this->bbcode_second_pass_code('', '/dev/sdb2 on /media/flex type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)')

There is also a UserMapping file present in the usual .NTFS-3G folder containing the SID mapping to uid and gid for my windows machine. but it seems not to work.

I tried running ntfs-3g with the permissions options directly too, but once the drive is mounted I still can't chown anything on it.

Can someone pinpoint what I'm doing wrong? So I can mount my drive with linux permissions so that my apache server can access file on it while running as the http user.

Thanks,
Voidless
 
Posts: 7
Joined: Tue Feb 26, 2013 1:42 am

Re: Unable to mount ntfs drive with permissions options

Postby Voidless » Tue Apr 09, 2013 2:58 am

Nobody has an idea at all? I've been trying to solve that issue by myself for a while now and a little help would be appreciated.

Thank you!
Voidless
 
Posts: 7
Joined: Tue Feb 26, 2013 1:42 am

Re: Unable to mount ntfs drive with permissions options

Postby moonman » Tue Apr 09, 2013 4:28 am

I don't think anybody here cares too much about permissions as this is mainly for home use, especially with NTFS. Try the archlinux forum, maybe you'll get more help there.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 15 guests