[Bug 267980] [NEW] scp cannot quoted filenames with "]"

2008-09-08 Thread Spayder26
Public bug reported:

scp and sftp cannot get a filename named "South Park - 10x08 - Make
Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but
when I renamed to "South Park - 10x08 - Make Love, Not Warcraft [
Subtitulado.al.Castellano", they can.

scp and sftp show the same error when file has "]" character: 
File [...] not found.

But sftp's remote renaming, moving, and more still working.

Commands used:
$: sftp [EMAIL PROTECTED]
sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
File "/home/mluser/incoming/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
(And works!)

** Affects: openssh (Ubuntu)
 Importance: Undecided
 Status: New

-- 
scp cannot quoted filenames with "]"
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: scp cannot quoted filenames with "]"

2008-09-08 Thread Spayder26
** Summary changed:

- scp cannot get quoted filenames larger than 74 characters
+ scp cannot quoted filenames with "]"

** Description changed:

  scp and sftp cannot get a filename named "South Park - 10x08 - Make
  Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but
- when I renamed to "/home/mluser/incoming/South Park - 10x08 - Make Love,
- Not Warcraft [ Subtitulado.al.Castellano", they can.
+ when I renamed to "South Park - 10x08 - Make Love, Not Warcraft [
+ Subtitulado.al.Castellano", they can.
  
- scp and sftp show the same error when quoted file parameter is higher than 74 
characters (including quoting): 
+ scp and sftp show the same error when file has "]" character: 
  File [...] not found.
  
- But sftp's remote renaming and moving still working.
+ But sftp's remote renaming, moving, and more still working.
+ 
+ Commands used:
+ $: sftp [EMAIL PROTECTED]
+ sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
+ File "/home/mluser/incoming/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
+ sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
+ sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
+ (And works!)

** Summary changed:

- scp cannot quoted filenames with "]"
+ scp cannot get filenames with "]"

-- 
sftp cannot get filenames with "]"
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: sftp cannot get filenames with "]"

2008-09-08 Thread Spayder26
and getting "selene[]" (whithout spaces) works too.
sftp> get "selene[]"
Fetching /home/mluser/selene[] to selene[]
/home/mluser/selene[]   
   100%   53 
0.1KB/s   00:00

** Summary changed:

- scp cannot get filenames with "]"
+ sftp cannot get filenames with "]"

** Description changed:

- scp and sftp cannot get a filename named "South Park - 10x08 - Make
- Love, Not Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but
- when I renamed to "South Park - 10x08 - Make Love, Not Warcraft [
- Subtitulado.al.Castellano", they can.
+ sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
+ Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
+ renamed to "South Park - 10x08 - Make Love, Not Warcraft [
+ Subtitulado.al.Castellano", it can.
  
- scp and sftp show the same error when file has "]" character: 
+ sftp shows error when file has "]" character: 
  File [...] not found.
  
  But sftp's remote renaming, moving, and more still working.
  
  Commands used:
  $: sftp [EMAIL PROTECTED]
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
  File "/home/mluser/incoming/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
  sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
  (And works!)

** Description changed:

  sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
  Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
  renamed to "South Park - 10x08 - Make Love, Not Warcraft [
  Subtitulado.al.Castellano", it can.
  
  sftp shows error when file has "]" character: 
  File [...] not found.
  
  But sftp's remote renaming, moving, and more still working.
  
  Commands used:
  $: sftp [EMAIL PROTECTED]
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
- File "/home/mluser/incoming/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
+ File "/home/user/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
  sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
  (And works!)

** Description changed:

  sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
  Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
  renamed to "South Park - 10x08 - Make Love, Not Warcraft [
  Subtitulado.al.Castellano", it can.
  
  sftp shows error when file has "]" character: 
  File [...] not found.
  
  But sftp's remote renaming, moving, and more still working.
  
  Commands used:
  $: sftp [EMAIL PROTECTED]
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
  File "/home/user/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
  sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
  (And works!)
+ 
+ Note: Renaming to "South Park - 10x08 - Make Love, Not Warcraft [
+ Subtitulado.al.Castellano_ [By.Tetsu_.avi" works too.

** Summary changed:

- sftp cannot get filenames with "]"
+ sftp cannot get large filenames with "]"

** Description changed:

  sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
  Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
  renamed to "South Park - 10x08 - Make Love, Not Warcraft [
  Subtitulado.al.Castellano", it can.
  
- sftp shows error when file has "]" character: 
+ sftp shows error when file with large filenale has "]" character: 
  File [...] not found.
  
  But sftp's remote renaming, moving, and more still working.
  
  Commands used:
  $: sftp [EMAIL PROTECTED]
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
  File "/home/user/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
  sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
  (And wo

[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

2008-09-08 Thread Spayder26
** Summary changed:

- sftp cannot get filenames with "[ " and " ]"
+ sftp cannot get filenames with "[" and "]" whith space between

** Description changed:

  sftp cannot get a filename named "South Park - 10x08 - Make Love, Not
  Warcraft [ Subtitulado.al.Castellano] [By.Tetsu].avi", but when I
  renamed to "South Park - 10x08 - Make Love, Not Warcraft [
  Subtitulado.al.Castellano", it can.
  
- sftp shows error when file with  filename has "[ " " ]" character (including 
spaces): 
+ sftp shows error when file with  filename has "[" "]" character (with a space 
or more between): 
  File [...] not found.
  
  But sftp's remote renaming, moving, and more still working.
  
  Commands used:
  $: sftp [EMAIL PROTECTED]
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi"
  File "/home/user/South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" not found.
  sftp> rename "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano] [By.Tetsu].avi" "South Park - 10x08 - Make Love, Not 
Warcraft [ Subtitulado.al.Castellano"
  sftp> get "South Park - 10x08 - Make Love, Not Warcraft [ 
Subtitulado.al.Castellano"
  (And works!)
  
  Note: Renaming to "South Park - 10x08 - Make Love, Not Warcraft [
  Subtitulado.al.Castellano_ [By.Tetsu_.avi" works too.
  
  EDITED:
  very confusing:
  I've renamed some files for testing and...
  sftp> get "selene ]"
  Fetching /home/mluser/selene ] to selene ]
  /home/mluser/selene ] 
 100%   53 
0.1KB/s   00:00
  sftp> get "selene [ ]"
  File "/home/mluser/selene [ ]" not found.
  sftp> ls -1
  incoming
  selene , . [ ]
  selene , [ ]
  selene [
  selene [ ]
  selene ]
  selene[
  selene[]
  selene]
  selenedb
  share.tar.gz
  
  so "selene [ ]" exists!

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

2008-09-08 Thread Spayder26
I've updated description so get "selene []" works, but get "selene[ ]"
and "selene[_ ]" don't.

Jonathan, I'm using Ubuntu hardy amd64 as client, and i386 as server,
linux 2.6.24-19, and openssh-client and server version
1:4.9p1-8ubuntu1.2.

sftp> ls
incomingselene , . [ ]  selene , [ ]selene [selene [ ]  
selene []   selene ]selene[ selene[ ]   selene[ _]  
selene[]
selene[_ ]  selene] selene][ _  selenedbshare.tar.gz
sftp> get "selene[_ ]"
File "/home/mluser/selene[_ ]" not found.
sftp> get "selene[_ \]"
Bad escaped character '\\]'

As you see, using \ throws error.

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

2008-09-09 Thread Spayder26
sftp> get "selene \[ \]"
Bad escaped character '\\['

Doesn't.

Can someone test this issue?

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

2008-09-09 Thread Spayder26
Sorry for my misspellings, I'm not very fine yesterday and today at
morning hehe.

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 267980] Re: sftp cannot get filenames with "[" and "]" whith space between

2008-09-11 Thread Spayder26
Can anybody reproduce the issue?

-- 
sftp cannot get filenames with "[" and "]" whith space between
https://bugs.launchpad.net/bugs/267980
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs