Udiskie mounts ntfs partition with permissions 700

External usb hard drive with two partitions, one is ext3 other is ntfs.
When I plug it in, udiskie nicely mounts both partitions, but the ext3 one is readable by other users (755), the ntfs one is not (700). Can I change this behaviour somehow, so that others (like mpd) can see the ntfs partition as well?

Upstream's answer:
There is currently no way to pass extra arguments from udiskie.
Implementation plan on this would be to add a config file with mount options for each filesystem type.
https://bitbucket.org/byronclark/udiski … rnal-drive
Question: can fstab help in such situation?

Similar Messages

  • KDE's Dolphin can't mount NTFS partitions after upgrade to systemd

    Hi, I just finished to migrate my system to a pure systemd setup. Everithing seems to work fine, except that Dolphin can't mount NTFS partitions anymore, as it was able to do before. I'm not 100% sure that systemd is the culprit, but nevertheless it is a big change in my system so I assume that it may be the problem.
    Trying to mount with Dolphin I get this error message:
    An error occurred while accessing 'sATA-a', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
    Error opening '/dev/sdb1': Permesso negato
    Failed to mount '/dev/sdb1': Permesso negato
    Please check '/dev/sdb1' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    http://tuxera.com/community/ntfs-3g-faq/#unprivileged
    I used to get this kind of error aeons ago when trying to mount from CL; puzzling enough, mounting from CL now works:
    $ mount /media/disks/sATA-a
    $ ls /media/disks/sATA-a
    Documenti Download $RECYCLE.BIN RECYCLER sATA-b System Volume Information Temp Video
    This is the relevant entry in my fstab (I don't know if Dolphin cares about it...):
    #sATA-a
    UUID=D6789B21789B0003 /media/disks/sATA-a ntfs-3g noauto,users 0 0
    And finally:
    $ ll `which ntfs-3g`
    -rwsr-xr-x 1 root root 125K 21 apr 12.13 /bin/ntfs-3g
    Can anybody give me a hint? Thanks.

    OK, the mess is growing up. Today I switched my laptop to systemd, and the mount problem has appeared  on this system as well. So I am confident that this is a systemd-related issue, and maybe some stock Arch config file is broken. I have this entry on my /etc/fstab for the ntfs-3g drive:
    UUID=88705BA9705B9D2E /media/vista ntfs-3g noauto,users,exec 0 0
    I compiled ntfs-3g with internal fuse support and did the setuid trick:
    $ ls -l `which ntfs-3g`
    -rwsr-xr-x 1 root root 125K 16 apr 2012 /bin/ntfs-3g
    I can mount the disk using the command:
    $ mount /media/vista/
    $
    It works flawlessly, so ntfs-3g works. If I try to mount it with udisks I get:
    $ /usr/bin/udisks --mount /dev/sda2 --mount-options users,exec
    Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
    Error opening '/dev/sda2': Permesso negato
    Failed to mount '/dev/sda2': Permesso negato
    Please check '/dev/sda2' and the ntfs-3g binary permissions,
    and the mounting user ID. More explanation is provided at
    http://tuxera.com/community/ntfs-3g-faq/#unprivileged
    It sounds to me that udisks is trying to mount the disk as a different user, but I'm not an expert so I might be wrong. If I remove the entry in /etc/fstab then udisks will ask for the password. Repeating the same steps but for an ext3 partition, I am able to mount with udisks when there is a proper fstab entry, and I'm asked for a password when that entry is commented out.
    Based on these findings, I strongly suspect that there is some problem with logind configuration in my system. I have been going round and round for hours, serching the web and the wiki (which BTW is in a very bad shape, containing outdated or no informations about mount policies in the polkit and udev sections), and now I feel I need some help to go through it... thanks.

  • Mount NTFS Partition

    Hej!
    How can I mount a NTFS partition under Solaris 10?
    thx

    NTFS = New Tecnology File System is completly different from the FAT32.
    FAT and FAT32 is from the old DOS Systems. DOS was removed as a OS on Windows NT. Support for DOS remains in NT as a NTVDM. NT Virtual Dos Machine that runs as a Subprocess on top of the NT. kernel.
    There exists a driver for the NTFS somwhere on internet, I tried it a copule of years ago on a Solaris8. The driver was then a readonly driver. I have lost the driver now, but info about it should be possible to find on internet with google or similar.
    This applys to localy mounting a NTFS.
    When mounting over the network, its different. The filesystem on the network does not use FAT or NTFS.
    Insted it uses NETBios (MSB). Samba has a client for this, if I remember correct.
    But it would be better install a NFS Server software on the Windows OS.

  • Can't mount ntfs partition

    hi.. i am running tiger, have no boot camp, but decided to run windows on it.. i've divided the drive into 2 partitions, mac and fat32. everything looked ok until i formatted the fat32 drive to ntfs using the partition utility on a windows xp install cd. since then, mac doesn't mount the ntfs drive. i wanted to copy my windows via some ntfs driver on my mac, but it doesn't want to mount it and i can't mount it via disk utility either.. any ideas??
    thanx much

    ok, here's the story:
    when i had leopard, i ran also windows xp via boot camp, i remember that when i formatted the windows partition from fat32 (default boot camp filesystem), leopard stopped mounting it after restart. that changed when i actually installed windows and started using it (i am almost sure boot camp made leopard be able to mount it normally (read only though, which changed when i installed mac fuse)). so after boot camp took care of the partition, leopard was able to mount it. now i am having this sort of problem: i am running tiger (downgraded back to it because of some bugs in leopard i dislike pretty much) but i cannot run boot camp any more. i partitioned the disk using disk utility (by default into fat32 fs) before installing of tiger. then i used a windows installation cd to reformat the windows partition to ntfs, and from that point on, i can see the disk in terminal (/dev/disk0s3 as well as in disk utility-unmounted) but i am unable to mount it, nobody knows why (i was able to do so when it was fat32). i have already installed the mac fuse with the ntfs driver, but nothing changed, the partition remains unmounted after reboot... this is what boot camp could handle, but unfortunately i have no boot camp any more... i also tried installing refit, an alternative bootloader, hoping it would help with this issue, but nothing works...
    i hope u get what i'm talking about now:)
    the only thing i want to do is to mount the ntfs partition, because i have backed my old windows up and just want to copy it back with help of mac fuse.
    anyone has any ideas??
    thanx a lot

  • Problem accessing mounted ntfs partitions

    Hi,
    I have problems accessing ntfs partitions as a non root user. The user trying to acces the partition is in usergroup wheel and has sudo acces.
    /etc/fstab looks like this:
    /dev/sda5 /media/winC ntfs defaults 0 2
    /dev/sdb1 /media/winD ntfs defaults 0 2
    It does not matter where I mount them (e.g. /home/user/media/winC), if i try cd-ing into the directory, it tells me:
    cd /medi/winC
    -bash: cd: /media/winC: Permission denied
    When i try the following, it tells me:
    sudo cd /medi/winC
    sudo: cd: command not found
    which I find a bit strange, but ok.
    Any pointers what I am doing wrong? cd-ing as root works, but i would like to acces it as a normal user too. Using the following options did not work for me:
    rw,suid,dev,exec,auto,users,async
    mount -l tells me the following when using the options stated above:
    /dev/sda5 on /media/winC type ntfs (ro,nosuid,nodev,noexec,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mtf_zone_multiplier=1)
    Thanks for any pointers!

    Trilby wrote:
    You should use ntfs-3g instead of ntfs.  I'm not sure if that will solve this problem, though it might, but it will prevent others.
    As for "sudo cp" failing, that is not odd at all: `cd` is not a program, it is a shell builtin - there is no `cd` binary for sudo to execute.
    Thanks for the explanation. I will try ntfs-3g as soon as I manage to connect to the internet again.

  • How to setup ivman to auto-mount ntfs partition using ntfs-3g

    Hi,
    I use ivman/pmount to auto-mount removable devices,
    but for ntfs partitions, it mounts by type "ntfs" which can not support "write"!
    But I can not figure out how to config ivman to do that,
    can someone help me, please?
    BR,
    bsdson.tw

    Hi,
    I use ivman/pmount to auto-mount removable devices,
    but for ntfs partitions, it mounts by type "ntfs" which can not support "write"!
    But I can not figure out how to config ivman to do that,
    can someone help me, please?
    BR,
    bsdson.tw

  • Cannot mount NTFS partition!!!!!!!!

    People I'm new to this ARCH world. I want to mount my XP partition(NTFS). I tried
    #ntfsmount /dev/sda1 /mnt
    But some errors are thrown on de console
    fuse: unknown option "USER = root"
    fuse_new failed
    umounting /dev/sda1 ()
    Now how can i resolve this problem to mount my ntfs partition in rw mode.

    What is not working?  Is it not r/w?
    EDIT:  Look into the possible use of   ........mount -o remount,rw /dev/sdxx..... in /etc/rc.local.......
    Not sure of the exact command but the idea is to make it r/w on every boot-up via rc.local.
    Hopefully, other users can correct any discrepancy I have introduced.
    Last edited by lilsirecho (2008-01-09 17:21:00)

  • Shrink HFS partition and extend NTFS partition with Disk Utility?

    My 10.7 iMac has two partitions: HFS+ & NTFS. The NTFS was set too small and is nearly full and I want to shrink the echoingly under-used HFS and add the resulting excess to the NTFS one.  Is this practicable?  I can see via Disk Utility that the Mac partition can be shrunk but no way is shown for modifying the NTFS side.  Maybe using a Linux tool is advised?

    You can't. If you try either Windows or OS X or both will no longer boot. You can try a aftermarket disk partitioning program but most that work on HFS partition don't work for Windows and those that work for Windows don't work on Mac extended partitions.
    The only real option is to backup the Windows partition with something like Win Clone then use Boot Camp assistant to remove Windows and the partition then again to recreate the Win partition in a larger size. After that install windows and then use the Win Clone software to restore Windows.

  • Cannot mount Windows partition with boot loader on Mac OS 10.8

    I took out my hard drive of my Windows 7 PC, which has 3 partitions on it: C drive which contains the OS and the boot loader that the computer boots into, D drive which contains my data, and a third called "System Reserved" a few megabyte in size that I have no idea what so ever what it does besides that I cannot modify or delete it, which probably means that it is important.  Now I put the hard drive inside an USB 3.0 enclosure and I am trying to mount this hard drive onto my OS X Lion Macbook air.  Something strange is happening, in that the computer takes about 30 seconds or more to detect the drives presence, and then it just freezes after that.  On the initial try, the system actually successfully launched DiskUtility, and I can see the drive mounted in the list of detected drives and 3 partitions "SD1, SD2, SD3" under that drive, but after  repeating the procedure a few more times, nothing seems to be happening after the system freeze.
    Anyone have any idea what's going on?  I am trying to access the data partition for my stuff.
    I have Tuxera NTFS installed, and I should probably also mention that my Macbook Air is mid 2011 with only USB 2.0 ports.
         Thanks in advance.

    Ok, I figured out the freezing part; apparently, I had to connect to the USB port on the left side next to the power supply or the disk does not have enough power and causes the system to crash.  So, now Disk Utility can see the hard drive with no problem.
    But now, the partitions are detected as XFAT format and no volumes are mounted to the desktop.  Disk Utility displays the disk description as:
      Disk Description : INTEL SS DSA2M160G2GC Media  Total Capacity : 160.04 GB (160,041,885,696 Bytes)
      Connection Bus : USB  Write Status : Read/Write
      Connection Type : External  S.M.A.R.T. Status : Not Supported
      USB Serial Number : CVPO049000W0160AGN    Partition Map Scheme : Master Boot Record
    Why is the status "not supported"?  How should I go about mounting the data volume so I can access the files on my Mac?

  • Mounting ntfs partitions at boot up read only and starting X at boot

    Hi,
    I want to mount my windos partition at boot so I can build a library in amarok without having to copy all of my music to my linux partition. However I only want to mount read only, as I don't want to risk messing the partition up. I followed the instructions on the wiki here:
    http://wiki.archlinux.org/index.php/NTFS_Write_Support
    And added a line in /etc/fstab "/dev/sda1 /mnt/sda1 ntfs-3g uid=1000,gid=100,fmask=0333,dmask=0333,locale=en_PH.utf8 0 0" without quotations, but the partition was not mounted so I removed the line and now am back to my original /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    /dev/cdrom /mnt/cd iso9660 ro,user,noauto,unhide 0 0
    /dev/dvd /mnt/dvd udf ro,user,noauto,unhide 0 0
    /dev/fd0 /mnt/fl vfat user,noauto 0 0
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext3 defaults 0 1
    I thought that I should change the numbers to 0 3 or something but I don't have a clue what they are for, could anyone offer any advice on how I should proceed?
    Also X refuses to load at boot, I have to log in as root and run /etc/rc.d/kdm start. I have put kdm in /etc/rc.d and I changed my /etc/inittab default runlevel from 3 to 5. I tried also changing the login manager from xdm to kdm in the same file but nothing ahs made a difference. Anyone have any ideas?
    Thanks in advance,
    Calef13

    Thanks a lot for the speedy replies, this is a great community here btw, very helpful. You were right mixtr, I got away with just
    "/dev/sda1/ /mnt/sda1 ntfs-3g user,ro,auto 0 0"
    And adding kdm to the deamons line solved my problem. I was trying to add it to the rc.d file rather than the rc.conf
    I had my doubts at first but I really like the fact that arch doesn't hold your hand and leaves everything up to you, I have already learned loads about the config files for linux among many other things and have come ot appreciate the lack of abstraction in arch. I really prefer this to previous OSes, but wish I had installed kdemod as the 'vanilla' kde from the repositories installs pretty much everything imaginable, but my system still runs very quickly.
    Calef13

  • How mount ext4 partition with read/write

    i use archlinux  , and i have a ext4 partition, i want to mount it , add it on /etc/fstab
    /dev/sda7 /mnt/sda7 ext4 defaults,noatime 0 0
    i reboot, i found the ext4 partition, i have no right to R/W for user mode? why?

    the ext4 partition is another linux, fedora 13, i want to mount it on archlinux.
    [figo@myhost sda7]$ ls -lah
    total 136K
    dr-xr-xr-x 24 root root 4.0K May 9 15:28 .
    drwxr-xr-x 7 root root 4.0K May 9 15:35 ..
    drwx------ 4 root root 4.0K May 9 15:28 .Trash-0
    -rw-r--r-- 1 root root 0 May 8 20:17 .autofsck
    drwx------ 3 root root 4.0K May 1 18:28 .dbus
    drwx------ 2 root root 4.0K May 1 18:28 .pulse
    -rw------- 1 root root 256 May 1 18:28 .pulse-cookie
    dr-xr-xr-x 2 root root 4.0K May 8 21:41 bin
    dr-xr-xr-x 4 root root 4.0K May 8 21:42 boot
    drwxr-xr-x 4 root root 4.0K Oct 1 2009 dev
    drwxr-xr-x 117 root root 12K May 8 21:45 etc
    drwxr-xr-x 4 root root 4.0K May 1 18:29 home
    dr-xr-xr-x 17 root root 12K May 8 21:43 lib
    drwx------ 2 root root 16K Apr 8 02:48 lost+found
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 media
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 mnt
    drwxr-xr-x 2 root root 4.0K Oct 1 2009 opt
    drwxr-xr-x 2 root root 4.0K Apr 8 02:48 proc
    dr-xr-x--- 7 root root 4.0K May 8 20:21 root
    dr-xr-xr-x 2 root root 12K May 8 21:44 sbin
    drwxr-xr-x 3 root root 4.0K Apr 8 03:02 selinux
    drwxr-xr-x 3 root root 4.0K Oct 1 2009 srv
    drwxr-xr-x 2 root root 4.0K Apr 8 02:48 sys
    drwxrwxrwt 16 root root 4.0K May 8 21:42 tmp
    drwxr-xr-x 13 root root 4.0K Apr 8 02:49 usr
    drwxr-xr-x 21 root root 4.0K May 8 21:41 var

  • I am unable to mount my NTFS partition after the last update

    I usually mounted my NTFS partition with the "gnome-disk" utility. It works no longer, only if I start it with "sudo". But in this case the mount point will be in a directory called "root" and this cause several problems, eg.: old hardcoded paths stop working in scripts. What can I do to make the gnome-disk utility work as an ordinary user.

    Thx, maybe I could use the fstab to mount the partition, am I right? But I don't know how to do it properly, because when I tried it in the past native hungarian characters iny the file and directory names always caused problems. If I somehow could capture the command sequence which the gnome-disk utility passes to the kernel / bash, would be helpful.

  • Can't Mount Windows Partition in OSX After Upgrading to 10.5 and BC 2.0

    I just installed Leopard today, using the upgrade option (as opposed to a clean install). I was happy to see that I could boot into Windows still, and installed all of the Boot Camp 2.0 drivers while booted into Vista. However, I can no longer mount my Windows partition in OSX. While using Tiger, I did use MacFuse and ntfs-3g to get read-write support, but in Leopard, I can't even read. When I try to mount the Windows volume in Disk Utility, I get an error stating that it cannot be mounted. I also do not have the option to perform "First Aid" or "Repair" on the volume.
    I realize that the latest version of ntfs-3g isn't proven to work with Leopard, but I would at least like read access in OSX. Is it possible that some settings were left over from my Tiger configuration that would not allow Leopard to mount the partition? Any ideas?
    Thank you.

    Ok. I'm in the club with the same problem...
    Strange things:
    * For the first days after Leopard's install, my BootCamp disk0s3 partition (I'll name it "BillGates") was mounted correctly. Then, after a few days (but BEFORE upgrading to 10.5.1), it disappeared.
    * If I launch DiskUtility "BillGates" is shown, but (in the right device navigation bar) it's named "-n BillGates". If I click the Erase menu, it's named "-nBillGates" (without the space between "-n" and "BillGates"). If I launch SystemProfiler it's named "-n BillGates", but the mount point is "/Volumes/billgates". Can't understand where this "-n" thing is coming from!
    * If I try to mount "-n BillGates" from DiskUtility it doesn't work and the log says "Mount of -n BillGates failed".
    * In the FSTAB there were no instructions: it was empty.
    Now, I tried the MacFUSE-solution: no results (meaning BillGates was not mounted on startup).
    I tried the modify-the-FSTAB-solution: no results (with "BillGates", "-n BillGates" nor "-nBillGates".
    I tried the chkdsk-solution: all tests were ok, but nothing happened.
    The only trick that worked was mounting the partition with Terminal's commands (thanks rtracy!!). It made appear "BillGates" on the desktop (without the "-n thing", that is still present in DiskUtility).
    Problem is at the first reboot, the Boot Camp partition disappears again. Any ideas for a permanent fix?!
    Giangiacomo.
    ADDENDUM: I've tried to move a file from desktop to an unlocked folder in BillGates and System did not copy them. "The item could not be moved because "BillGates" cannot be modified" !!!!!!!!
    Message was edited by: Giangiacomo Castelfranchi1

  • Mounting NTFS on Solaris 10

    How can i munt the NTFS partition of my Windows XP on Solaris 10?
    Can somebody help me????
    It can be possible?

    Package FSWmisc now mounts NTFS partitions directly. No special mount_ntfs program required. It is based on Martin Rosenau's mount_ntfs. Package FSWpart comes with prtpart, which displays all the partitions, including extended partitions, and partition types.
    See http://www.genunix.org/distributions/belenix_site/binfiles/README.FSWfsmisc.txt
    Download from http://www.belenix.org/binfiles/FSWpart.tar.gz and http://www.belenix.org/binfiles/FSWfsmisc.tar.gz
    Install with pkgadd -d . (in the directory you unpacked the above two tarballs).
    Here's a sample /etc/vfstab line:
    /dev/dsk/c0d0p1     -     /c     ntfs     -     no     roAnd sample output from mount and xlsmounts:
    # mount
    /c on 127.0.0.1:/ remote/read only/setuid/devices/port=33249/public/vers=2/proto=udp/xattr/dev=4700004 on Sun Nov 26 19:42:29 2006
    # xlsmounts
      PHYSICAL DEVICE                 LOGICAL DEVICE      FS    PID         ADDR Mounted on
      /dev/dsk/c0d0p1                /dev/dsk/c0d0p1    ntfs   3354  127.0.0.1:/ /cAlso both mount_ntfs and FSWfsmisc work with Solaris 10 and OpenSolaris ("Nevada").

  • "mount: only root can mount" or "Unprivileged user can not mount NTFS"

    I'm trying to set up an NTFS partition to use as a common data partition between Arch and Windows. I have it added to fstab so that any user in the ntfsuser group can have access to it, but if it gets unmounted accidentally from the "eject" symbol in the nautilus gui, you have to sudo to mount it back up. Is there a way for it to be remounted automatically when you click on the partition again in Nautilus? I've searched all through the forums and looked through several articles on the wiki but haven't been able to come up with anything. The error I get says
    mount: only root can mount /dev/sda4 on /home/adam/UserData
    I've tried adding the users option to fstab, but that only manages to change the error to
    Unprivileged user can not mount NTFS block devices using the external FUSE
    library. Either mount the volume as root, or rebuild NTFS-3G with integrated
    FUSE support and make it setuid root. Please see more information at
    http://ntfs-3g.org/support.html#unprivileged
    I've tried the suggestions at the link in the error, as well as tried the solutions given in [solved] Gnome : mounting NTFS partition as user and a few other posts, but still nothing. If possible, I'd prefer to stay away from the users option in fstab, since it adds a redundant link to the sidebar in nautilus with a different name.

    @Mr.Elendig: It is mounted through fstab normally, but in nautilus there's an eject icon on the sidebar next to the name of the drive which I've accidentally clicked on a couple times if I'm just trying to open the drive real quick. Once its been unmounted like that it won't let me remount unless I use sudo. I'm just looking for something to make it a little more convenient than having to pop open a cli and type in a password.
    I'll try the suid root when I get home tonight, otherwise I'll look into autofs.

Maybe you are looking for

  • HP 2055 Printing from selected tray issue

    Hey all, This is my first time posting here but i need some serious help. We have a networked HP 2055 printer that 3 workstations are printing to.  We have the native drivers installed on the machines, and have it selected to print tp tray 3 (the bot

  • Help with Date function in sql query....

    My question I guess is really 2...I'm trying to use the date function as a comparison in my WHERE clause in my sql command. 1. My date format is dd-MMM-yy eg. (01-Apr-06) ... my problem is the Apr is lower case where my field in the database is 01-AP

  • File to File without a Mapping in place ?

    Hi All, Would it be possible to tranfer a file from one destinaiton to another destination without a need to have a mapping in place. Its more of replicating a file at a source to a destination where in there is no need for mapping. But while creatin

  • Correlationid in ccBPM in stopped bpm's

    Hi, We use PI ccBPM to coordinate between several async services. Each service is called async and a deadline (timeout) is opened waiting for it to callback async. The receiver is configured with a correlation id so that the correct bpm context is re

  • Dvd wont eject

    I have a mac pro I just had a replacement dvd drive installed the old one jammed up and the tray was stuck in open position. the new one was installed at my local apple store. It wont open when you press the eject button. But it only opens when you c