Topic: When trying to upload a file : volume...externally altered...

Hello MySecureShell-Forum!

First I have to say Thank You for this wonderfull piece of software!
It is really what i was searching for! Secure File-Transfers easy to configure!

I have been using MySecureShell now for a couple of days and it worked perfectly for downloading files for all my users.
But now I wanted to give my users an upload-directory so that they can send me files.

My shared files are owned by me and the group sftp has read-rights.
I changed the rights for the upload-directory to 770 so that they have write-rights.

But when someone of that group tries to upload the file, they get the error:
"The volume for a file has been externally altered so that the opened file is no longer valid."
It also happens for the Users in their home-directories.

Here is the sftp_config file:

<Default>
        Shell                          /bin/MySecureShell
        Home                           /home/$USER
        Download                       0
        GlobalDownload                 0
        Upload                         0
        GlobalUpload                   0
        LimitConnection                10
        LimitConnectionByIP            2
        LimitConnectionByUser          2
        ResolveIP                      false
        IdleTimeOut                    300
        VirtualChroot                  true
        StayAtHome                     true
        HideNoAccess                   true
        IgnoreHidden                   true
        DefaultRights                  0644 0755
        Charset                        UTF-8
</Default>

<Group sftp>
        Home                           /data
        Shell                          /bin/MySecureShell
        CanRemoveDir                   false
        CanRemoveFile                  false
</Group>

<User sftpadmin>
        IsAdmin                        true
</User>

I really dont know what to do, there are also no errors in the log-file.

Please help me! :-)
Thanks in advance!

Re: When trying to upload a file : volume...externally altered...

Hi,

Which OS is on your server ? which sftp client ?

Re: When trying to upload a file : volume...externally altered...

My OS is Debian Lenny,

The client are various: SFTP-Drive an Filezilla in Windows
In Linux: sftp in shell and fish:// in KDE and sftp:// in Gnome.

MySecureShell version is 1.15

Re: When trying to upload a file : volume...externally altered...

And with all clients it's the same error ? hmm

Re: When trying to upload a file : volume...externally altered...

teka wrote:

And with all clients it's the same error ? hmm

Yeah that is the Problem,
First I Thought it was a Windows-Only-Problem, but it isn't sad

I also reinstalled MySecureShell...

Re: When trying to upload a file : volume...externally altered...

It's very strange because this error ("The volume for a file has been externally altered so that the opened file is no longer valid.") seems to be a Windows error (Google show only forum about Windows)... hmm

Re: When trying to upload a file : volume...externally altered...

I also read about it as an Windows-only-problem.
That is because I finally decided to ask you.

I now have configuered the chroot with the built-in openssh/internal-sftp server.

I had hoped to use MySecureShell because it is really nice and easy to configure.

So don't bother yourself with my problem, maybe it works in a new version :-)

Thank you for your efforts anyway :-)

Re: When trying to upload a file : volume...externally altered...

No problem but very strange your problem sad