login about faq

This is from a Solaris client to a Tectia Server 6.1 running on Windows 2003

It appears SFTP account “user-id” has no permissions to remote shell directory and “chmod” command

Currently @ "sftp-target" remotedir="/home/DEV/in"

-r-------- 0 0 0 1019 Mar 19 03:19 ClrHs_20120306.xml

When attempted removing test file, command failed with following errors,

sftp> rm ClrHs_20120306.xml
Removing /home/DEV/IN/ClrHs_20120306.xml
Couldn't delete file: Permission denied

Note: chmod 600 ClrHs_20120306.xml” command was executed with no affect

On w2k3 side, user-id has modify permissions to virtual directory and sub-directories. Is there another bit that needs to be set on the w2k3 side for the chmod command to work?

asked Mar 20 '12 at 22:42

modymrunal's gravatar image

modymrunal
1112

edited Mar 21 '12 at 18:19

Roman's gravatar image

Roman ♦♦
7735817


Hi,

Unfortunately the chmod command is not supported when connecting to a Tectia Server on Windows.

Since the Windows permission system is quite different from Unix style permissions in order to support this we would have to implement some kind of translation between both permission systems and this has not been implemented.

You'll have to change the permissions on the file using native windows tools (with an account that has enough permissions to do so). If you have terminal access to the server you could use the CACLS tool, such as:

c:> CACLS file-to-modify /e user-id:f

The above command would give user "user-id" full permissions to the file.

link

answered Mar 21 '12 at 18:16

Roman's gravatar image

Roman ♦♦
7735817

Sorry, forgot to mention that the clients and servers are in different organizations. Clients are connecting via a native ssh client on a solaris box and servers are as mentioned above, running w2k3.

link

answered Mar 21 '12 at 19:23

modymrunal's gravatar image

modymrunal
1112

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×82
×55
×11
×3
×2

Asked: Mar 20 '12 at 22:42

Seen: 4,792 times

Last updated: Mar 21 '12 at 19:23

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.