Directory inaccessible if parent directory is inaccessible
there seems to be a problem in WinSCP concerning entering directories. This is a rather old bug, I have always had it in all the WinSCP versions (up to and including 5.1.1), but now I want to pass it to you in hope it is fixed.
In our university, we have the situation that some parent directories are inaccessible while the subdirectories can be accessed. So everybody, who looks into the home directory of a user (e.g. /home/user/myboss) is not able to read the directory. However, if you 'know' the path (e.g., /home/user/myboss/ourcommonpaper), I can enter the directory with a "cd" command using putty, list the directory with "ls" and copy the data to my home directory using "cp". However, I cannot enter the directory with WinSCP. If I enter a path like "/home/user/myboss/ourcommonpaper" in the address bar on top of WinSCP, I get the error message
---
Command 'pwd'
failed with return code 1 and error message
pwd: cannot open directory `..': Permission denied.
---
It seems that WinSCP requires the parent directory to be accessible to access subdirectories, which is not the case here. This is a rather annoying situation as it requires me to copy all the data to my home directory before I can copy it to my Windows machine with WinSCP. The parent directory "/home/user/myboss" has permissions "0710", the subdirectory "/home/user/myboss/ourcommonpaper" and all its subfolders "0755".
Can you help?
Regards,
Michael
P.S.: The connection options are:
Remote system = SunOS jerusalem 5.10 Generic_138888-03 sun4u sparc SUNW,Sun-Fire-V440 Solaris
Session protocol = SSH-2
SSH implementation = OpenSSH_4.6
Encryption algorithm = aes
Compression = ZLib
File transfer protocol = SCP
------------------------------------------------------------
Server host key fingerprint
ssh-rsa 2048 1f:ed:e6:f9:ad:4b:49:17:87:e7:e6:b4:ce:e5:dc:d9
------------------------------------------------------------
Can change permissions = Yes
Can change owner/group = Yes
Can execute arbitrary command = Yes
Can create symlink/hardlink = Yes/Yes
Can lookup user groups = Yes
Can duplicate remote files = Yes
Can check available space = No
Can calculate file checksum = No
Native text (ASCII) mode transfers = No