Topic ""Create Folder" Error on Netware OpenSSH and workaround"

Author Message
andilao
[View user's profile]

Joined: 2007-07-16
Posts: 4
Near every time I get this error message box:
Code:
---------------------------
Error creating folder 'New folder'.
---------------------------
General failure (server should provide error description).
Error code: 4
Error message from server: Failure
Request code: 14
---------------------------
Abort   Retry   Skip   Help   
---------------------------

The 'New folder' was created anyway, wether "Abort", "Retry" nor Skip is pressed and there is no entry in sshd.log. No difference when creating with or without permissions 0644 or 0777, the new folder is every time 0777, Group "0 [0]", Owner "Admin [32934]".

Logging in as Admin gave me success. The workaround is to give Supervisor-Trustees to the WinSCP user group for all volumes and/or folders of interest.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Please post a full log file showing the problem.

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. For posting extensive logs you may use pastebin or similar application. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
andilao
[View user's profile]

Joined: 2007-07-16
Posts: 4
w/o error: I have all rights for Old_folder including admin/supervisor
Code:
. 2010-06-25 18:13:24.017 Creating directory "New folder".
. 2010-06-25 18:13:24.017 Canonifying: "New folder"
. 2010-06-25 18:13:24.017 Getting real path for '/Old_folder/New folder'
> 2010-06-25 18:13:24.017 Type: SSH_FXP_REALPATH, Size: 33, Number: 11024
< 2010-06-25 18:13:24.017 Type: SSH_FXP_STATUS, Size: 24, Number: 10500
. 2010-06-25 18:13:24.017 Discarding reserved response
< 2010-06-25 18:13:24.095 Type: SSH_FXP_STATUS, Size: 29, Number: 11024
< 2010-06-25 18:13:24.095 Status code: 2, Message: 11024, Server: No such file, Language: 
. 2010-06-25 18:13:24.095 Getting real path for '/Old_folder/'
> 2010-06-25 18:13:24.095 Type: SSH_FXP_REALPATH, Size: 23, Number: 11280
< 2010-06-25 18:13:24.205 Type: SSH_FXP_NAME, Size: 49, Number: 11280
. 2010-06-25 18:13:24.205 Real path is '/Old_folder'
. 2010-06-25 18:13:24.205 Canonified: "/Old_folder/New folder"
> 2010-06-25 18:13:24.205 Type: SSH_FXP_MKDIR, Size: 37, Number: 10766
< 2010-06-25 18:13:24.314 Type: SSH_FXP_STATUS, Size: 24, Number: 10766
< 2010-06-25 18:13:24.314 Status code: 0
> 2010-06-25 18:13:24.314 Type: SSH_FXP_LSTAT, Size: 33, Number: 11527
< 2010-06-25 18:13:24.423 Type: SSH_FXP_ATTRS, Size: 37, Number: 11527
> 2010-06-25 18:13:24.423 Type: SSH_FXP_SETSTAT, Size: 41, Number: 11785
< 2010-06-25 18:13:24.533 Type: SSH_FXP_STATUS, Size: 24, Number: 11785
< 2010-06-25 18:13:24.533 Status code: 0
. 2010-06-25 18:13:24.533 Listing directory "/Old_folder".
> 2010-06-25 18:13:24.533 Type: SSH_FXP_OPENDIR, Size: 22, Number: 12043
< 2010-06-25 18:13:24.642 Type: SSH_FXP_HANDLE, Size: 13, Number: 12043
> 2010-06-25 18:13:24.642 Type: SSH_FXP_READDIR, Size: 13, Number: 12300
< 2010-06-25 18:13:24.767 Type: SSH_FXP_NAME, Size: 6169, Number: 12300
> 2010-06-25 18:13:24.767 Type: SSH_FXP_READDIR, Size: 13, Number: 12556
< 2010-06-25 18:13:24.861 Type: SSH_FXP_STATUS, Size: 28, Number: 12556
< 2010-06-25 18:13:24.861 Status code: 1
> 2010-06-25 18:13:24.861 Type: SSH_FXP_CLOSE, Size: 13, Number: 12804


Error: I have all rights except admin/supervisor rights for Old_folder
Code:
. 2010-06-25 18:15:26.296 Creating directory "New folder".
. 2010-06-25 18:15:26.296 Canonifying: "New folder"
. 2010-06-25 18:15:26.296 Getting real path for '/Old_folder/New folder'
> 2010-06-25 18:15:26.296 Type: SSH_FXP_REALPATH, Size: 33, Number: 15888
< 2010-06-25 18:15:26.296 Type: SSH_FXP_STATUS, Size: 24, Number: 15364
. 2010-06-25 18:15:26.296 Discarding reserved response
< 2010-06-25 18:15:26.390 Type: SSH_FXP_STATUS, Size: 29, Number: 15888
< 2010-06-25 18:15:26.390 Status code: 2, Message: 15888, Server: No such file, Language: 
. 2010-06-25 18:15:26.390 Getting real path for '/Old_folder/'
> 2010-06-25 18:15:26.390 Type: SSH_FXP_REALPATH, Size: 23, Number: 16144
< 2010-06-25 18:15:26.499 Type: SSH_FXP_NAME, Size: 49, Number: 16144
. 2010-06-25 18:15:26.499 Real path is '/Old_folder'
. 2010-06-25 18:15:26.499 Canonified: "/Old_folder/New folder"
> 2010-06-25 18:15:26.499 Type: SSH_FXP_MKDIR, Size: 37, Number: 15630
< 2010-06-25 18:15:26.608 Type: SSH_FXP_STATUS, Size: 24, Number: 15630
< 2010-06-25 18:15:26.608 Status code: 4, Message: 15630, Server: Failure, Language: 
. 2010-06-25 18:15:26.608 Asking user:
. 2010-06-25 18:15:26.608 Error creating folder 'New folder'. ("General failure (server should provide error description).
. 2010-06-25 18:15:26.608 Error code: 4
. 2010-06-25 18:15:26.608 Error message from server: Failure
. 2010-06-25 18:15:26.608 Request code: 14")
> 2010-06-25 18:15:28.312 Type: SSH_FXP_LSTAT, Size: 33, Number: 16391
< 2010-06-25 18:15:28.422 Type: SSH_FXP_ATTRS, Size: 37, Number: 16391
> 2010-06-25 18:15:28.422 Type: SSH_FXP_SETSTAT, Size: 41, Number: 16649
< 2010-06-25 18:15:28.531 Type: SSH_FXP_STATUS, Size: 24, Number: 16649
< 2010-06-25 18:15:28.531 Status code: 0
. 2010-06-25 18:15:28.531 Listing directory "/Old_folder".
> 2010-06-25 18:15:28.531 Type: SSH_FXP_OPENDIR, Size: 22, Number: 16907
< 2010-06-25 18:15:28.641 Type: SSH_FXP_HANDLE, Size: 13, Number: 16907
> 2010-06-25 18:15:28.641 Type: SSH_FXP_READDIR, Size: 13, Number: 17164
< 2010-06-25 18:15:28.766 Type: SSH_FXP_NAME, Size: 6169, Number: 17164
> 2010-06-25 18:15:28.766 Type: SSH_FXP_READDIR, Size: 13, Number: 17420
< 2010-06-25 18:15:28.860 Type: SSH_FXP_STATUS, Size: 28, Number: 17420
< 2010-06-25 18:15:28.875 Status code: 1
> 2010-06-25 18:15:28.875 Type: SSH_FXP_CLOSE, Size: 13, Number: 17668
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
If you believe that you should not need admin rights to create the directory, you should contact the server provider. WinSCP (as a client) does not control permissions, obviously.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License