Ntfs-g3 doesn't preserve modification timestamp at copy

I have a data partition mounted using ntfs-g3 like this (from my /etc/fstab):
/dev/sda8 /media/data ntfs-3g defaults,umask=002,fmask=113,gid=100 0 0
Here is the mount point:
drwxrwxr-x 1 root users 4096 Aug 2 04:03 data
All my users are in the "users" group by the way.  The odd thing is that when anyone in the "users" group tries to copy files to this partition, the date/time stamp is NOW rather than what was on the dir/files.
Example:
$ cp -a ./Desktop /media/data/
cp: preserving times for `/media/data/Desktop/templog-31-Dec-09-11_04_02.csv~': Operation not permitted
cp: preserving times for `/media/data/Desktop/screenshot2.png': Operation not permitted
cp: preserving times for `/media/data/Desktop/conky-d.desktop': Operation not permitted
I googled around for this but have yet to locate a solution, just the usual conflicting opinions/data.  Anyone?
Example1: http://www.tuxera.com/forum/viewtopic.php?f=2&t=230
I have the result of the investigation. FUSE is right. Things worked
as they should. The operation indeed mustn't be permitted in such cases
according to the POSIX standard.
Namely utimes(2) doesn't permit changing the time stamps because the
effective uid of the cp process doesn't equal the uid of the file
__AND__ the new time stamps are not the current time, __EVEN_IF__
the user has write permission to the file. This is how POSIX wants.
I'll document this issue, thanks again.
Example2: https://forums.gentoo.org/viewtopic-t-8 … art-0.html
re-emerge and exclude the acl use flag. I'm not sure why or what acl does but by turning off that use flag I solved the problem I was having which was identical to yours with rsync.
...the thread goes on to say that this bug was fixed in ntfs-3g "latest" release and we are using > the version mentioned in the thread.
Thanks all!

chris@chrispc ~ $ date
Wed Aug 4 02:29:58 CEST 2010
chris@chrispc ~ $ cp thumbnailers.xml /media/data/ -av
`thumbnailers.xml' -> `/media/data/thumbnailers.xml'
chris@chrispc ~ $ ll /media/data/ | grep thum
-rw-r--r-- 1 chris users 55K Jul 27 00:10 thumbnailers.xml
chris@chrispc ~ $ ll /media/ | grep data
drwxr-xr-x 8 chris users 4.0K Aug 4 02:29 data
So is this what you're trying to do?
All I can say is: seems to work on my ntfs-3g 2010.5.22-1
If I understand your fstab correctly, you're setting fmask to 113...maybe rwx is needed to set the date after creation, maybe you could try a using 003
Last edited by DIDI2002 (2010-08-04 00:45:38)

Similar Messages

  • Preserve Modifications Not Working

    I'm using RH8 and am linking to a Word 2007 document. In one topic, I created a drop-down DHTML hotspot in RoboHelp. I saved the topic, and when prompted I selected Preserve modifications to this file. I generated the WebHelp and it works great. But when I update the project, the modifications disappear and the Word doc version overwrites the changes I made and supposedly preserved. What's going on?

    Okay, now occasionally if I make a change in the topic, it will get preserved (not always though), but if it gets preserved, RH deletes it from the TOC!

  • Bug ! - ATV doesn't preserve iphoto folders

    I have @30,000 pictures in iPhoto... and of course, sorted into folders...
    But ATV doesn't preserve that when it syncs... everything is flattened, alphabetized, and the most recent albums at the end...
    Its totally silly and this isn't just a missing feature.. I see this as a bug ?
    Whats up with this Apple ? Why don't you let me be able to find my pictures the way I've organized them on my Mac ?

    So the ATV doesn't recognize the folder hierarchy that I've created within iPhoto
    Accepted
    The albums just appear alphabetically, and I usually have no idea where pictures are, because the albums aren't even listed chronologically.
    Mine certainly doesn't do that, yes the tv ignores nested folders, but it lists the albums inside them in the order they appear in the folder in iphoto, furthermore it lists the contents of the first folder first and the contents of the second folder second and so on. It doesn't list them alphabetically at all.
    If you don't like them listed that way then change the way they are listed to one you like. (Just drag them into the order you want).
    I want my albums to appear slightly differently on the tv than in iphoto, this presents no problem to me at all, as I say I can have my photo albums in any order I choose.

  • Mavericks doesn't ask for password when copying files into applications folder (e.g. installing plugins for After Effects)

    For example, when i was copied a plugin for after effects into the plugins folder, finder asked me for my password and now it doesn't. I can just copy it directly without any authentication.

    Do you have Service Pack 1 for Windows 7? It's listed in the system requirements for CC 2014. If you don't have SP1, AE won't run.
    That GPU sniffer error message is usually what happens. This should be a simple fix! Of course, you should always take the normal precautions when updating an OS, but still...

  • Calendar modification timestamps

    If multiple people have access to a shared calendar, is there any way to
    see who created a specific appointment? Also, is there a way to see
    who has modified an appointment? I've tried looking at numerous
    columns which sound appropriate like author, creator, etc, but none
    contain the information I'm looking for.
    Along those same lines, I see that there is a 'created' field which
    contains the creation timestamp, and a 'modified' field which also
    contains the creation timestamp and doesn't change even if the
    appointment has been modified. Is there a column that I can view that
    shows the timestamp of when the last time the appointment was modified?
    I am needing this information for a legal request. Even if the
    Groupwise client cannot provide this information, is it possible that
    it's stored in the database and could be queried in some other way, like
    soap for example?
    -Mike

    Looks like I didn't wait long enough for the modified field to show a
    time change so that's all good, but any help determining WHO modified an
    appointment would be really great.
    -Mike
    On 6/28/2013 9:46 AM, Mike wrote:
    > If multiple people have access to a shared calendar, is there any way to
    > see who created a specific appointment? Also, is there a way to see
    > who has modified an appointment? I've tried looking at numerous
    > columns which sound appropriate like author, creator, etc, but none
    > contain the information I'm looking for.
    >
    > Along those same lines, I see that there is a 'created' field which
    > contains the creation timestamp, and a 'modified' field which also
    > contains the creation timestamp and doesn't change even if the
    > appointment has been modified. Is there a column that I can view that
    > shows the timestamp of when the last time the appointment was modified?
    >
    > I am needing this information for a legal request. Even if the
    > Groupwise client cannot provide this information, is it possible that
    > it's stored in the database and could be queried in some other way, like
    > soap for example?
    >
    > -Mike

  • IOS 6 still doesn't have optional timestamps for messages?

    That is the one thing i need to have and like having, i get annoyed at that something as simple as adding timestamps still hasn't been done.
    Apple you really need to add this in the next update as an optional setting!
    Is it just me or does anyone else like having ever messaged time stamped?

    I absolutely agree with you. I just recently switched to Apple (ip5). Every phone I ever had before always had a timestamp for every message; most could not be turned off. Maybe it's just a preference but I don't know why anyone wouldn't want it that way and am surprised Apple doesn't have it (fully) available. Were iPhones always this way? This is something that is WAY behind the times! They can easily change it to stamp everything and make it optional. This should be updated asap!

  • NTFS Partition Doesn't Allow Programs To Access It [SOLVED]

    Hello all,
    First of all, I have finally returned to Arch after several years of using Linux Mint. It feels good to be back in a bloatware-free environment, and I'm enjoying my 1 second boot times! Unfortunately, this hiatus has caused me to lose much of my former Linux knowledge base.
    My System:
    $ inxi -Fxz
    System: Host: MSIGS70-ARCH Kernel: 4.0.4-2-ARCH x86_64 (64 bit gcc: 5.1.0)
    Desktop: KDE 4.14.8 (Qt 4.8.6) Distro: Arch Linux
    Machine: System: Micro-Star product: GS70 2PE Stealth Pro v: REV:1.0
    Mobo: Micro-Star model: MS-1772 v: REV:0.B
    Bios: American Megatrends v: E1772IMS.106 date: 04/30/2014
    CPU: Quad core Intel Core i7-4710HQ (-HT-MCP-) cache: 6144 KB
    flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 19961
    clock speeds: max: 3500 MHz 1: 2500 MHz 2: 2500 MHz 3: 2500 MHz 4: 2500 MHz
    5: 2500 MHz 6: 2500 MHz 7: 2500 MHz 8: 2500 MHz
    Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
    bus-ID: 00:02.0
    Card-2: NVIDIA GK104M [GeForce GTX 870M] bus-ID: 01:00.0
    Display Server: N/A driver: intel Resolution: 89x69
    Audio: Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
    driver: snd_hda_intel bus-ID: 00:1b.0
    Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
    driver: snd_hda_intel bus-ID: 00:03.0
    Sound: Advanced Linux Sound Architecture v: k4.0.4-2-ARCH
    Network: Card-1: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller
    driver: alx port: c000 bus-ID: 04:00.0
    IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
    Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 05:00.0
    IF: wlp5s0 state: down mac: <filter>
    Drives: HDD Total Size: 1128.2GB (61.7% used)
    ID-1: /dev/sda model: TOSHIBA_THNSNJ12 size: 128.0GB
    ID-2: /dev/sdb model: WDC_WD10JPVX size: 1000.2GB
    Partition: ID-1: / size: 29G used: 5.4G (20%) fs: ext4 dev: /dev/sda5
    ID-2: swap-1 size: 17.83GB used: 0.00GB (0%) fs: swap dev: /dev/sdb3
    Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 25.0
    Fan Speeds (in rpm): cpu: N/A
    Info: Processes: 182 Uptime: 33 min Memory: 1191.8/15971.7MB
    Init: systemd Gcc sys: 5.1.0 Client: Shell (bash 4.3.391) inxi: 2.2.21
    The Situation:  I have a separate hard drive formatted to NTFS, which I use for my file storage on all of my OSes (I have 4 right now, including Windows 8).
    The problem:  Despite configuring the mountpoint (/media/aaron/data) to mount under my user, aaron, and the 'all' group, other applications do not have any access to the /media/aaron/data directory. Because of the fact that it is NTFS, and I am multibooting with Win8, I cannot simply chown the directory and subdirectories to my name. Instead, I had to amend the /etc/fstab to mount the directory under my user and group, which is where I believe my problem is.
    Background:  I have searched for hours on the internet, including the Arch forums to find a solution and the best I have found is a post here (answer #1) which at least allows me to access the directory through the file manager (Dolphin). I first noticed the problem when trying to download a torrent file using ktorrent. Ktorrent spat out the following message:
    Cannot create /media/aaron/data/Downloads/wattOS-R8-32bit-mate.iso: Permission denied
    Now, I think I have isolated the cause, however I have no idea how to fix it. I believe the cause is that only owner has permission to view and modify content. Group has permission only to view content. Other has no permission whatsoever. I believe that I need to somehow allow all of the users to have read and write privileges. It would be a simple chown, if it weren't for the fact that the FS is NTFS. I need some amendment to my fstab that will achieve this result, but I have a limited understanding of the various fstab options and masks.
    My fstab file reads as follows:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda5
    UUID=b1b2ca8c-e7fc-42a2-aabb-a2c3208c2a65 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sdb3
    UUID=7381274f-2aea-4960-a45e-4fe2c7afac9f none swap defaults 0 0
    # /dev/sdb1 DATA on /media/aaron/data
    UUID=B64C82184C81D391 /media/aaron/data ntfs uid=1000,gid=100,dmask=027,fmask=137 0 2
    it is /dev/sdb1 that I am configuring, and the options shown above are what allow me to access the directory using my non-privileged account.
    I am sure I have probably forgot something, forgive me, it has been quite a long time now! Thank you all in advance, I appreciate anyone who takes the time to give this a wee bit of thought!
    Let me know what information you require, and I will see it delivered promptly,
    HPG
    Last edited by hotpepperguy (2015-05-30 13:50:12)

    UPDATE: 
    I installed the package ntfs-3g to my system, as per the  Arch Wiki instructions, and then set the fstab options as follows:
    UUID=B64C82184C81D391 /media/aaron/data ntfs-3g uid=aaron,gid=users 0 0
    Just setting the uid and the gid alone allows permissions to be granted to all groups, so this is obviously not a solution for a multiuser system. As for a single user setup - it is perfect.
    cheers,
    HPG
    Last edited by hotpepperguy (2015-05-30 13:55:31)

  • How to get modification timestamp of user in GAL

    Hi,
    Sorry for bothering you but I have one more question.
    In general I have performance issue. I am downloading users from GAL with all details and it takes about 3h. GAL has about 17000 users. I didn't found any solution to make it faster.
    But in next sync I would like to get data only for modified users but I don't know how to do it efficiently.
    Now I will describe more details.
    <pseudocode>
    Foreach( var addressEntry in Application.Session.AddressLists[…].AddressEntries)
    Var eu = addressEntry.GetExchangeUser()
    Var props = addressEntry.PropertyAccessor.GetProperties(…)
    LocalDb.SaveContact(addressentry, eu, props)
    The most time expensive part is :
    addressEntry.PropertyAccessor.GetProperties(…)
    ,it takes 2,5h. I would like in next “Download Process” download only modified entires but I don’t know how to get the timestamp efficiently. The timestamp is available using this:
    addressEntry.PropertyAccessor.GetProperty(“http://schemas.microsoft.com/mapi/proptag/0x30080040“)
    , but this is as slow as
    addressEntry.PropertyAccessor.GetProperties(…)
    , so there is no sense to check the timestamp and if it is old ask for properties.
    Can I get the timestamp information in other way, more efficiently?

    Mots address book providers (GAL included) are not very good with restrictions.
    GAL address book provider does not really do anything that you cannot do through the Active Directory interfaces. You should be able to run AD queries that use the "last modified  time" attribute.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • Insert keyframe in classic tween doesn't preserve curve data in CS5?

    In earlier versions of Flash (CS3 and CS4) this technique I am about to describe works perfectly. Since Flash CS5 came along, it stopped working. I have no idea how to get it to work again. Here's what I want to accomplish:
    Draw a circle shape on the stage, convert it to a movie clip, add a new keyframe on frame 15, while on frame 15 select the circle movie clip and move it a good distance away from its original position, right click on, frame 8 and choose "create classic tween". With the classic tweened timeline selected, select the "edit tween" button in the properties panel to create a custom easing curve. I made my own easing curve that eases in and out to make the result more obvious when I describe what is now broken in Flash CS5. With onion skinning turned on, and the entire range of animation selected, you can easily see what the curve is doing to the movie clip.
    Below are screen captures of the timeline, curve editor window with my custom curve, and the resulting circle tweening on the stage with onion skinning turned on.
    This next step is where Flash CS5 breaks, and where Flash CS3 and CS4 work.
    Select, the 8th frame on the timeline, and insert a keyframe. In older versions of Flash, the custom curve would stay true to what it was before you inserted the keyframe. The curve would be cut at the point where the keyframe was inserted and the first part of the curve would get assigned to the tween from frame 1-8(in this case), and the last chunk of the split curve would get assigned to the frames 8-15(also in this case), thus preserving the original tween. However, this does not happen anymore. Instead, it does half of what it's supposed to do.
    Here's what it looks like when you add a keyframe at frame 8 with my example animation:
    - first frame selected, looking at the curve editor window:
    - this is exactly the same curve the entire span had (frame 1 - 15) before I added the keyframe on frame 8. The curve you should be seeing right now is the first half of this curve, not the whole thing. Next, let's look at the last section of the tween:
    - with frame 8 selected, let's look at the curve for this tween:
    - It's exactly what we'd expect, the last half of the original curve. Why didn't this happen to the tween in the first half? I don't know. Here's what the onion skin looks like before and after I insert the keyframe:
    These onion skins should look exactly the same (except for the fact that there should be a bright green circle where the new keyframe is, for example, the middle ball, like you see in the second image), but if you look at the second one, you can see that the first half of the tween does not match, and that the last half does. When adding a keyframe anywhere in an existing tween, the original tween should remain preserved - the original curve should get split and distributed correctly to the new tween in front and behind the new keyframe.
    I've tried using graphic symbols instead, I've tried playing with sync being on and off, i've tried it with using the built in easing (not custom easing curves), I've tried every method for inserting a keyframe that flash has to offer.. I can't figure out how to make it split the curve correctly. Has anyone else run into this problem? I do a lot of character animation, and this technique was my bread and butter, and now it's gone. I tried adapting to the new motion editor, but for character animation, the classic tween is so much faster.
    Does anyone have a solution to this problem?
    Thanks!
    -Tyson

    i reported it for a fix (or, at least, consideration for a fix) for the next version of flash pro which is undergoing beta testing.   that won't show up in the link i gave you which is for non-beta testers.
    i don't control whether it will be fixed or not but i know it will be addressed by the adobe engineers.   i've reported about 4 issues that i've encountered via the adobe flash forums that i've reported and that have been fixed in the next version of flash. 
    it's too soon to tell what they engineers think about this report.  currently, it's listed as "unverified" which means they haven't had time to see if they can duplicate the issue.  we'll see. (i can duplicate it so its status as unverified will change, i'm sure.)
    p.s.  "flash authoring" is the place to report "flash pro" requests/bugs.  i don't think it's obvious those are the same and have initiated a request to see if "flash authoring" can be changed to "flash pro".

  • Bug: option dragging audio regions doesn't preserve fadeins and fadeouts

    I just noticed that when I option drag some audio regions, sometimes either the fadein or fadeout is lost. Usually it disappears on the copy, but sometimes the copy is fine but the original loses the fade.
    Anyone else see this problem? Is it new to 8 or has it always been there? Any suggested workarounds? I tried using copy/paste instead of option drag, but that doesn't work since it creates clones instead of copies. Any suggestions would be appreciated.

    Bump...has anyone else seen this problem, or is it unique to my setup?

  • Copy & paste to new document doesn't preserve World Ready attributes

    I am running ID CS 2014 under Windows 7.
    I have 2 documents and am copying and pasting text from one to the other. Both have paragraph & character styles with identical names but different definitions. I want the pasted text to retain the styles from the original document with the new attributes applied which normally works perfectly. Both of these documents contain spot Hebrew text within English text, so all styles are set up to use the World Ready Composer.
    What is happening is that when I paste the copied text into the second document (this is totally English text), it is behaving like Hebrew text in that it selects from right to left instead of from right to left, and punctuation is at the beginning of the line instead of the end of the line. Checking the settings for that document, the World Ready Composer is on and the keyboard and character direction both are set to "default" which is correct.
    What I see is happening is that when it is pasted, in the paragraph style under indents in spacing, the paragraph direction changes to right-to-left (when the originating document and the new document both have the style set to left-to-right).
    As I have a lot of such text to copy and paste, it is pain each time to redefine the paragraph style. How can I prevent this from happening?

    What you are seeing is expected behavior-- pasted text with a style will always pick up style definitions from the document you are pasting into.
    You can fix this quickly by creating style groups in one of your documents. You could collect all the styles in the Hebrew document into a folder called Hebrew. (Do this for the Paragraph styles and the Paragraph Styles).
    This way, the new document will view them as new styles, and not change the formatting.

  • Redirect rule doesn't preserve reply-to address

    I am trying to create a rule that redirects messages based on message content. The incoming message has a "no-reply" From address and a separate reply-to address. If you click the redirect this message manually to someone else and they reply to it, it's addressed to the reply-to address. But if you use a rule to redirect the message, the reply is addressed to the original (no-reply) sender. The reply-to address gets stripped out somehow. Can anyone help with this?

    Has yours ever worked?
    I tried with:
    If all conditions
    Any recipient contains (one of my email addresses)
    perform
    set color of background (grey)
    redirect message to (another of my email addresses)
    For matching email addresses contains is better than is equal to. Post your rule and maybe someone will spot the problem.
    AK

  • Pacman doesn't preserve permissions

    Hello,
    I recently started to grant some people access to my server via SSH. In order to tighten the security a bit (or at least the perception of it), I decided to set the perms of most of my dirs in / and / itself to root:wheel 0751. Unfortunately, pacman reset the permissions of the dirs that were involved in the -Syu procedure back to root:root 0755.
    Is there any way that I can get pacman to leave the permissions as they are?

    Snowman wrote:
    LB06 wrote:Is there any way that I can get pacman to leave the permissions as they are?
    I'm afraid no. That how pacman works. When a package is made the system directories gets permissions root:root. When you install a package, pacman untars it and the permissions are reset to root:root.  I would suggest using a small script to upgrade your system:
    #!/bin/sh
    pacman -Syu
    chmod ...
    where the last line is modified accordingly. That way, after each upgrade, the permissions will be set to your liking.
    I am really sorry to hear that. I also thought about such a script, but that seemed like a workaround to me.

  • SCC3 doesn't show the running client copy log

    Hi All,
    I have successfully exported my production data and now trying to import it into our sandbox instance.
    Before doing the import, i have delete the client "150" and then created a new client with the same number and started the import using tp command.
    I tried the below
    tp addtobuffer PERKT00008 SER pf=TP_DOMAIN_SER.PFL u18
    This is tp version 340.16.24 (release 640, unicode enabled)
    Warning: Parameter DBHOST is no longer used.
    Warning: Parameter DBLIBPATH is no longer used.
    Warning: Parameter DBNAME is no longer used.
    Warning: Parameter DBSWPATH is no longer used.
    Addtobuffer successful for PERKT00008
    tp finished with return code: 0
    meaning:
      Everything OK
    sapsbox:seradm 59> tp import PERKT00008 SER client150 pf=TP_DOMAIN_SER.PFL u18
    This is tp version 340.16.24 (release 640, unicode enabled)
    Warning: Parameter DBHOST is no longer used.
    Warning: Parameter DBLIBPATH is no longer used.
    Warning: Parameter DBNAME is no longer used.
    Warning: Parameter DBSWPATH is no longer used.
    This is R3trans version 6.13 (release 640 - 25.07.06 - 17:34:00).
    unicode enabled version
    --> After that the OS prompt does move further. I logged on to the new client 150 as sap* and run scc3. This current import is not shown in it. The last log available is the delete log
    What should i do.? At the other end, under the directory /usr/sap/trans/tmp, there is one file with the exact timestamp and the export version number getting grown up. I keep monitoring that file and it shows as
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    4 ETW690 "322800" "-1"
    Could some one give an insight of this??
    Am i in the right direction??
    Regards
    Jagadeesh

    Hi Jagadeesh
    Can you please check:
    - Transaction STMS -> sandbox import queue -> import history. If your export is there you should be able to access the log file there.
    - /usr/sap/trans/log for logfiles starting with either PERKT00008 or KT00008
    Regards
    Michael

  • How to preserve row heights when copy/pasting in Numbers 3.2.2?

    I've created an invoice in Numbers with different row heights and column widths. When I copy a series of rows and then paste them on a new row, all the formatting is there except all the rows where I paste are all the same heights. Do I need to manually re-adjust every single row or is there some way to preserve the row heights when pasting.  Thanks anyone.

    VR,
    When I try to duplicate the problem you are describing, I get the behavior you are wishing for. Sorry, there must be something going on that you aren't including in your conditions statement.
    Jerry

Maybe you are looking for