Topic "Preserve timestamp on automounted fat32"

Author Message


I'm unable to preserve timestamp using winSCP when transferring files to an automounted fat32 partition. The partition was originally created using WinXP and I use it primarily to share between Linux and Windows. Everything works regarding file transfer with the exception of file attribute modification. Here is the error message I get from winSCP while transferring a file with preserving timestamp enabled:

Permission denied.
Error code: 3
Error message from server: Permission denied (?)
Request code: 9

Below is the relevant line from the servers fstab config file for the fat32 automount:

/dev/hda2 /mnt/osshare vfat umask=000 0 0

What am I doing wrong? Any help would definitely be appreciated.

BTW: Preserving timestamp works OK when sending a file to a Linux partition or from the server to the local computer.

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
I have no idea what may cause this. Can you create a test account for me on the server?
Martin Prikryl


martin wrote:
I have no idea what may cause this. Can you create a test account for me on the server?

I figured it out. It had nothing to do with WinSCP! The automounted fat and all on it was owned, as defined by default, by root. Permission to change file attributes is strictly forbidden without ownership on my server. I changed ownership by changing the fstab file:

dev/hda2 /mnt/osshare vfat umask=000 0 0
/dev/hda2 /mnt/sharedVfat vfat uid=501,umask=000,gid=501 0 0

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License