Topic "Directory creartion problem on AIX5L"

Author Message
philrm24
[View user's profile]

Joined: 2008-03-17
Posts: 2
Location: .au
When trying to create a directory in a file system on an AIX 5L the directory is created one level up from the directory you are in and has the current directory name as the start of the new directory.

Eg if you are in test and try to create a directory data you get a directory called testdata above the test directory.

I have tried this in 4.05 4.06 and now 4.07 releases in both norton and explorer interfaces. Sad

The protacol used was

Session protocol = SSH-2
SSH implementation = OpenSSH_3.7.1p2-pwexp26_krb5
Encryption algorithm = aes
Compression = No
File transfer protocol = SFTP-3
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 1024 85:b1:86:81:46:72:85:ae:5f:b4:3a:44:1f:2a:91:85
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = No
Can execute arbitrary command = No
Can create symlink/hardlink = Yes/No
Can lookup user groups = No
Can duplicate remote files = No
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No
------------------------------------------------------------
Additional information
The server does not support any SFTP extension.


When I try the same thing when connected to a redhat ent 3 machine which mounts the same file system everything works as it should????? Smile
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Can you post a log file showing the problem?
_________________
Martin Prikryl
philrm24
[View user's profile]

Joined: 2008-03-17
Posts: 2
Location: .au
Winscp log file below

Type: SSH_FXP_CLOSE, Size: 13, Number: 29444
Changing directory to "tmp".
Getting real path for '/tmp'
Type: SSH_FXP_REALPATH, Size: 13, Number: 29712
Type: SSH_FXP_STATUS, Size: 24, Number: 29444
Discarding reserved response
Type: SSH_FXP_NAME, Size: 29, Number: 29712
Real path is '/tmp'
Trying to open directory "/tmp".
Type: SSH_FXP_LSTAT, Size: 13, Number: 29959
Type: SSH_FXP_ATTRS, Size: 37, Number: 29959
Getting current directory name.
Directory content loaded from cache.
Creating directory "testing123".
Canonifying: "testing123"
Getting real path for '/tmp/testing123'
Type: SSH_FXP_REALPATH, Size: 24, Number: 30480
Type: SSH_FXP_NAME, Size: 49, Number: 30480
Real path is '/tmptesting123'
Canonified: "/tmptesting123"
Type: SSH_FXP_MKDIR, Size: 27, Number: 30222
Type: SSH_FXP_STATUS, Size: 24, Number: 30222
Status/error code: 0
Type: SSH_FXP_SETSTAT, Size: 31, Number: 30729
Type: SSH_FXP_STATUS, Size: 24, Number: 30729
Status/error code: 0
Listing directory "/tmp".
Type: SSH_FXP_OPENDIR, Size: 13, Number: 30987
Type: SSH_FXP_HANDLE, Size: 13, Number: 30987
Type: SSH_FXP_READDIR, Size: 13, Number: 31244
Type: SSH_FXP_NAME, Size: 8907, Number: 31244
Type: SSH_FXP_READDIR, Size: 13, Number: 31500
Reading symlink "i4ipc.ppe".
Type: SSH_FXP_READLINK, Size: 23, Number: 31763
Type: SSH_FXP_STAT, Size: 23, Number: 32017
Type: SSH_FXP_STATUS, Size: 28, Number: 31500
Storing reserved response
Type: SSH_FXP_NAME, Size: 59, Number: 31763
Type: SSH_FXP_ATTRS, Size: 37, Number: 32017
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 32260
Getting current directory name.
Listing directory "/tmp".
Type: SSH_FXP_OPENDIR, Size: 13, Number: 32523
Type: SSH_FXP_STATUS, Size: 24, Number: 32260
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 13, Number: 32523
Type: SSH_FXP_READDIR, Size: 13, Number: 32780
Type: SSH_FXP_NAME, Size: 8907, Number: 32780
Type: SSH_FXP_READDIR, Size: 13, Number: 33036
Reading symlink "i4ipc.ppe".
Type: SSH_FXP_READLINK, Size: 23, Number: 33299
Type: SSH_FXP_STAT, Size: 23, Number: 33553
Type: SSH_FXP_STATUS, Size: 28, Number: 33036
Storing reserved response
Type: SSH_FXP_NAME, Size: 59, Number: 33299
Type: SSH_FXP_ATTRS, Size: 37, Number: 33553
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 33796
Cached directory change via ".." to "/".
Getting current directory name.
Directory content loaded from cache.
Getting current directory name.
Listing directory "/".
Type: SSH_FXP_OPENDIR, Size: 10, Number: 34059
Type: SSH_FXP_STATUS, Size: 24, Number: 33796
Discarding reserved response
Type: SSH_FXP_HANDLE, Size: 13, Number: 34059
Type: SSH_FXP_READDIR, Size: 13, Number: 34316
Type: SSH_FXP_NAME, Size: 6043, Number: 34316
Type: SSH_FXP_READDIR, Size: 13, Number: 34572
Reading symlink "bin".
Type: SSH_FXP_READLINK, Size: 13, Number: 34835
Type: SSH_FXP_STAT, Size: 13, Number: 35089
Type: SSH_FXP_STATUS, Size: 28, Number: 34572
Storing reserved response
Type: SSH_FXP_NAME, Size: 37, Number: 34835
Type: SSH_FXP_ATTRS, Size: 37, Number: 35089
Reading symlink "lib".
Type: SSH_FXP_READLINK, Size: 13, Number: 35347
Type: SSH_FXP_STAT, Size: 13, Number: 35601
Type: SSH_FXP_NAME, Size: 37, Number: 35347
Type: SSH_FXP_ATTRS, Size: 37, Number: 35601
Reading symlink "u".
Type: SSH_FXP_READLINK, Size: 11, Number: 35859
Type: SSH_FXP_STAT, Size: 11, Number: 36113
Type: SSH_FXP_NAME, Size: 31, Number: 35859
Type: SSH_FXP_ATTRS, Size: 37, Number: 36113
Reading symlink "unix".
Type: SSH_FXP_READLINK, Size: 14, Number: 36371
Type: SSH_FXP_STAT, Size: 14, Number: 36625
Type: SSH_FXP_NAME, Size: 63, Number: 36371
Type: SSH_FXP_ATTRS, Size: 37, Number: 36625
Reading symlink "cdb".
Type: SSH_FXP_READLINK, Size: 13, Number: 36883
Type: SSH_FXP_STAT, Size: 13, Number: 37137
Type: SSH_FXP_NAME, Size: 61, Number: 36883
Type: SSH_FXP_ATTRS, Size: 37, Number: 37137
Status/error code: 1
Type: SSH_FXP_CLOSE, Size: 13, Number: 37380
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
philrm24 wrote:
Creating directory "testing123".
Canonifying: "testing123"
Getting real path for '/tmp/testing123'
Type: SSH_FXP_REALPATH, Size: 24, Number: 30480
Type: SSH_FXP_NAME, Size: 49, Number: 30480
Real path is '/tmptesting123'
Canonified: "/tmptesting123"

As you can see in the log, it is bug of the server.
_________________
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