"Create Folder" Error on Netware OpenSSH and workaround

Advertisement

andilao
Joined:
Posts:
4

"Create Folder" Error on Netware OpenSSH and workaround

Near every time I get this error message box:
---------------------------
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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: "Create Folder" Error on Netware OpenSSH and workaround

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.

Reply with quote

andilao
Joined:
Posts:
4

w/o error: I have all rights for Old_folder including admin/supervisor
. 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
. 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

Reply with quote

martin
Site Admin
martin avatar

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.

Reply with quote

Advertisement

You can post new topics in this forum