Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » SSH Permission denied, double Upload?
SSH Permission denied, double Upload? [message #28169] Thu, 09 October 2008 12:30 Go to next message
Ulrich is currently offline Ulrich
Messages: 6
Registered: July 2009
Junior Member
Hi

I have a problem when connecting via RSE/"SSH only" to an external server.

As soon as I edit a file and try to save it I get the error "Operation
failed. Security violation" ("Message reported from file system:
Permission denied"), although the file is saved correctly (which makes
this error even more annoying, I could just ignore it...).

The debugger outputs this:
Sftp-monitor <--
2008-10-09 18:21:11.137 | Worker-7 | SftpFileService.upload admin.php ok
2008-10-09 18:21:11.199 | Worker-7 | SftpFileService.upload
/html/editor/admin.php failed: 3: Permission denied

Preliminary I do not understand why eclipse tries to save the file two
times and while looking at the java classes I found that it should just
output a filename, so why is there a directory in the debugger output?
I would be really graceful, when someone could help me out here. Works
nice besides this error.
(btw. my ssh account does not have write access to all parent directories.
This might be the source of this problem, but this does not really affect
writing to deeper (allowed) directories, so I am a little bit helpless)

Kind regards,
Ulrich
Re: SSH Permission denied, double Upload? [message #28208 is a reply to message #28169] Thu, 09 October 2008 13:45 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
What version of RSE do you use?

I think that we had a problem in 3.0 or probably even 3.0.1,
where uploading a file always tried to change the modification
timestamp of the uploaded file, and that permission was denied on some
systems.

The bug has since been fixed, and if you get the most recent 3.1 I-build
I'm sure it is fixed, I'd need to find the bug report to see whether
it's fixed in 3.0.1 already.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Ulrich wrote:
> Hi
>
> I have a problem when connecting via RSE/"SSH only" to an external server.
>
> As soon as I edit a file and try to save it I get the error "Operation
> failed. Security violation" ("Message reported from file system:
> Permission denied"), although the file is saved correctly (which makes
> this error even more annoying, I could just ignore it...).
>
> The debugger outputs this:
> Sftp-monitor <--
> 2008-10-09 18:21:11.137 | Worker-7 | SftpFileService.upload admin.php ok
> 2008-10-09 18:21:11.199 | Worker-7 | SftpFileService.upload
> /html/editor/admin.php failed: 3: Permission denied
>
> Preliminary I do not understand why eclipse tries to save the file two
> times and while looking at the java classes I found that it should just
> output a filename, so why is there a directory in the debugger output?
> I would be really graceful, when someone could help me out here. Works
> nice besides this error.
> (btw. my ssh account does not have write access to all parent
> directories. This might be the source of this problem, but this does not
> really affect writing to deeper (allowed) directories, so I am a little
> bit helpless)
>
> Kind regards,
> Ulrich
>
Re: SSH Permission denied, double Upload? [message #28247 is a reply to message #28208] Thu, 09 October 2008 14:25 Go to previous messageGo to next message
Ulrich is currently offline Ulrich
Messages: 6
Registered: July 2009
Junior Member
Hi

I use the current version available via the download-URL for eclipse. I
think this is 3.0.1.

Where can I find the current build?
These packages here?
http://download.eclipse.org/dsdp/tm/downloads/drops/S-3.1M2- 200809301300/

And how I can install them into eclipse?

Installing via URL is easier ^^,


Kind regards,
Ulrich



Martin Oberhuber wrote:

> What version of RSE do you use?

> I think that we had a problem in 3.0 or probably even 3.0.1,
> where uploading a file always tried to change the modification
> timestamp of the uploaded file, and that permission was denied on some
> systems.

> The bug has since been fixed, and if you get the most recent 3.1 I-build
> I'm sure it is fixed, I'd need to find the bug report to see whether
> it's fixed in 3.0.1 already.

> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
Re: SSH Permission denied, double Upload? [message #28361 is a reply to message #28247] Mon, 13 October 2008 08:19 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
Hi Ulrich,

This is the bug, fixed in 3.1m2:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237616

Yes, you can download the drop from the link that you
posted, and simply extract the archive(s) into your
eclipse/dropins/ folder.

If you prefer an update site, use
http://download.eclipse.org/dsdp/tm/updates/3.1milestones
as referenced on the TM homepage,
http://www.eclipse.org/dsdp/tm

Where else do you think that this information is missing?
What do you mean by "download-URL"?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Ulrich wrote:
> Hi
>
> I use the current version available via the download-URL for eclipse. I
> think this is 3.0.1.
>
> Where can I find the current build?
> These packages here?
> http://download.eclipse.org/dsdp/tm/downloads/drops/S-3.1M2- 200809301300/
>
> And how I can install them into eclipse?
>
> Installing via URL is easier ^^,
>
>
> Kind regards,
> Ulrich
>
>
>
> Martin Oberhuber wrote:
>
>> What version of RSE do you use?
>
>> I think that we had a problem in 3.0 or probably even 3.0.1,
>> where uploading a file always tried to change the modification
>> timestamp of the uploaded file, and that permission was denied on some
>> systems.
>
>> The bug has since been fixed, and if you get the most recent 3.1
>> I-build I'm sure it is fixed, I'd need to find the bug report to see
>> whether it's fixed in 3.0.1 already.
>
>> Cheers,
>> --
>> Martin Oberhuber, Senior Member of Technical Staff, Wind River
>> Target Management Project Lead, DSDP PMC Member
>> http://www.eclipse.org/dsdp/tm
>
>
Re: SSH Permission denied, double Upload? [message #28398 is a reply to message #28361] Thu, 16 October 2008 06:12 Go to previous messageGo to next message
Ulrich is currently offline Ulrich
Messages: 6
Registered: July 2009
Junior Member
Hi

> If you prefer an update site, use
> http://download.eclipse.org/dsdp/tm/updates/3.1milestones

Okay, I used this way and it worked fine. The bug is gone :)

> What do you mean by "download-URL"?

I meant the update site.


Besides:
What is about this url?
http://download.eclipse.org/dsdp/tm/updates/

I used this one first (found via Google) and installed a really old
version.
Wouldn't it be a could idea to ship the 3er version there too?
(So just 2 update sites, one for the stable versions and one for the
milestones? Just for clarity.)


Kind regards,
Ulrich
Re: SSH Permission denied, double Upload? [message #28434 is a reply to message #28398] Thu, 16 October 2008 11:37 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
> http://download.eclipse.org/dsdp/tm/updates/
> Wouldn't it be a could idea to ship the 3er version there too?

The problem here is, that between 2.0 and 3.0 there occurred
some API change. If we put 3.0 on that site, then people who
have 2.0 installed and do Eclipse "check for updates" could
get 3.0 installed by accident, which might break their
environment.

We don't want that.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Re: SSH Permission denied, double Upload? [message #577560 is a reply to message #28169] Thu, 09 October 2008 13:45 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
What version of RSE do you use?

I think that we had a problem in 3.0 or probably even 3.0.1,
where uploading a file always tried to change the modification
timestamp of the uploaded file, and that permission was denied on some
systems.

The bug has since been fixed, and if you get the most recent 3.1 I-build
I'm sure it is fixed, I'd need to find the bug report to see whether
it's fixed in 3.0.1 already.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Ulrich wrote:
> Hi
>
> I have a problem when connecting via RSE/"SSH only" to an external server.
>
> As soon as I edit a file and try to save it I get the error "Operation
> failed. Security violation" ("Message reported from file system:
> Permission denied"), although the file is saved correctly (which makes
> this error even more annoying, I could just ignore it...).
>
> The debugger outputs this:
> Sftp-monitor <--
> 2008-10-09 18:21:11.137 | Worker-7 | SftpFileService.upload admin.php ok
> 2008-10-09 18:21:11.199 | Worker-7 | SftpFileService.upload
> /html/editor/admin.php failed: 3: Permission denied
>
> Preliminary I do not understand why eclipse tries to save the file two
> times and while looking at the java classes I found that it should just
> output a filename, so why is there a directory in the debugger output?
> I would be really graceful, when someone could help me out here. Works
> nice besides this error.
> (btw. my ssh account does not have write access to all parent
> directories. This might be the source of this problem, but this does not
> really affect writing to deeper (allowed) directories, so I am a little
> bit helpless)
>
> Kind regards,
> Ulrich
>
Re: SSH Permission denied, double Upload? [message #577581 is a reply to message #28208] Thu, 09 October 2008 14:25 Go to previous message
Ulrich is currently offline Ulrich
Messages: 6
Registered: July 2009
Junior Member
Hi

I use the current version available via the download-URL for eclipse. I
think this is 3.0.1.

Where can I find the current build?
These packages here?
http://download.eclipse.org/dsdp/tm/downloads/drops/S-3.1M2- 200809301300/

And how I can install them into eclipse?

Installing via URL is easier ^^,


Kind regards,
Ulrich



Martin Oberhuber wrote:

> What version of RSE do you use?

> I think that we had a problem in 3.0 or probably even 3.0.1,
> where uploading a file always tried to change the modification
> timestamp of the uploaded file, and that permission was denied on some
> systems.

> The bug has since been fixed, and if you get the most recent 3.1 I-build
> I'm sure it is fixed, I'd need to find the bug report to see whether
> it's fixed in 3.0.1 already.

> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
Re: SSH Permission denied, double Upload? [message #577639 is a reply to message #28247] Mon, 13 October 2008 08:19 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
Hi Ulrich,

This is the bug, fixed in 3.1m2:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=237616

Yes, you can download the drop from the link that you
posted, and simply extract the archive(s) into your
eclipse/dropins/ folder.

If you prefer an update site, use
http://download.eclipse.org/dsdp/tm/updates/3.1milestones
as referenced on the TM homepage,
http://www.eclipse.org/dsdp/tm

Where else do you think that this information is missing?
What do you mean by "download-URL"?

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Ulrich wrote:
> Hi
>
> I use the current version available via the download-URL for eclipse. I
> think this is 3.0.1.
>
> Where can I find the current build?
> These packages here?
> http://download.eclipse.org/dsdp/tm/downloads/drops/S-3.1M2- 200809301300/
>
> And how I can install them into eclipse?
>
> Installing via URL is easier ^^,
>
>
> Kind regards,
> Ulrich
>
>
>
> Martin Oberhuber wrote:
>
>> What version of RSE do you use?
>
>> I think that we had a problem in 3.0 or probably even 3.0.1,
>> where uploading a file always tried to change the modification
>> timestamp of the uploaded file, and that permission was denied on some
>> systems.
>
>> The bug has since been fixed, and if you get the most recent 3.1
>> I-build I'm sure it is fixed, I'd need to find the bug report to see
>> whether it's fixed in 3.0.1 already.
>
>> Cheers,
>> --
>> Martin Oberhuber, Senior Member of Technical Staff, Wind River
>> Target Management Project Lead, DSDP PMC Member
>> http://www.eclipse.org/dsdp/tm
>
>
Re: SSH Permission denied, double Upload? [message #577647 is a reply to message #28361] Thu, 16 October 2008 06:12 Go to previous message
Ulrich is currently offline Ulrich
Messages: 6
Registered: July 2009
Junior Member
Hi

> If you prefer an update site, use
> http://download.eclipse.org/dsdp/tm/updates/3.1milestones

Okay, I used this way and it worked fine. The bug is gone :)

> What do you mean by "download-URL"?

I meant the update site.


Besides:
What is about this url?
http://download.eclipse.org/dsdp/tm/updates/

I used this one first (found via Google) and installed a really old
version.
Wouldn't it be a could idea to ship the 3er version there too?
(So just 2 update sites, one for the stable versions and one for the
milestones? Just for clarity.)


Kind regards,
Ulrich
Re: SSH Permission denied, double Upload? [message #577656 is a reply to message #28398] Thu, 16 October 2008 11:37 Go to previous message
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 982
Registered: July 2009
Senior Member
> http://download.eclipse.org/dsdp/tm/updates/
> Wouldn't it be a could idea to ship the 3er version there too?

The problem here is, that between 2.0 and 3.0 there occurred
some API change. If we put 3.0 on that site, then people who
have 2.0 installed and do Eclipse "check for updates" could
get 3.0 installed by accident, which might break their
environment.

We don't want that.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Previous Topic:ssh fails with "Argument cannot be null" if /etc/issue[.ssh] file exists
Next Topic:WEBDAV Support
Goto Forum:
  


Current Time: Tue Jul 29 17:07:41 EDT 2014

Powered by FUDForum. Page generated in 0.05859 seconds