> I have no idea what could explain the change of behavior. You would have to 
> install 2015.3.14 on your new server to confirm this is caused by a change in 
> ntfs-3g.

I did install 2015.3.14 today and still experience the same issue.
Thanks for the help and sorry that I didn't verify beforehand if it was due to 
a change to ntfs-3g.

Kind regards,
Raffael

-----Ursprüngliche Nachricht-----
Von: Jean-Pierre André <jean-pierre.an...@wanadoo.fr> 
Gesendet: Montag, 24. Juni 2019 16:46
An: ntfs-3g-de...@lists.sf.net
Betreff: Re: [ntfs-3g-devel] non interactive shell + ntfs-3g

Nussbaumer  Raffael (ID S4D) wrote:
> Hi Jean-Pierre
> 
>> What is the difference of behavior you observe ?
>> How do you start ntfs-3g ?
> 
> I'm using shell_exec() php function to start a script in which ntfs-3g is 
> used.
> On my old server (Ubuntu 16.04) which came with ntfs-3g version 
> 2015.3.14, running the script with sudo worked. (Image got mounted) On 
> my new server (Ubuntu 18.04.2) which comes with ntfs-3g version 
> 2017.3.23, running the script with sudo doesn't work anymore. Later on 
> I installed (2017.3.23AR.4) In the script itself ntfs-3g is started 
> like this: /bin/ntfs-3g -o ro /mnt/sdb1/$RestoredImage 
> /mnt/ImageMountPoint/$2
> 

I have no idea what could explain the change of behavior. You would have to 
install 2015.3.14 on your new server to confirm this is caused by a change in 
ntfs-3g.

A possible direction : unmounting within a script generally appears as not 
working because umount is not synchronous, and, when the script terminates, it 
kills the unmount process before the unmounting takes place.
In such a situation, a subsequent mount is rejected, unless both mounts are 
read-only (which you hinted to be useful).

Jean-Pierre



_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel


_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to