Public bug reported:
Binary package hint: gedit
[EMAIL PROTECTED]:~$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
[EMAIL PROTECTED]:~$ apt-cache policy gedit
gedit:
Installed: 2.22.3-0ubuntu1
Candidate: 2.22.3-0ubuntu1
Version table:
*** 2.22.3-0ubuntu1 0
500 http://dk.archive.ubuntu.com hardy-updates/main Packages
100 /var/lib/dpkg/status
2.22.1-0ubuntu1 0
500 http://dk.archive.ubuntu.com hardy/main Packages
When using gedit to edit files remotely it wont always let me save my
file again depending on the permissions on the parent directory.
Example:
Log into a remote machine.
Create a file called test1 in my home directory.
Create a file called test2 in /var/www
The directory /var/www is owned by root.
Make sure that both files are locally editable.
Log out of the remote machine.
Open Gedit and open the 2 files.
Now the file test1 can be edited without a problem
But the file test2 cannot, I get the error: "Could not save the file
sftp://server/var/www/test2. You do not have the permissions necessary to save
the file. Please check that you typed the location correctly and try again."
I suspect that Gedit wants to create a new file in the directories, delete the
old one and then move the new file to the old location.
Since /var/www isn't writeable by me it wont let me save the file test2.
I expected to be able to edit both files via Gedit.
** Affects: gedit (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Binary package hint: gedit
+
+ [EMAIL PROTECTED]:~$ lsb_release -rd
+ Description: Ubuntu 8.04.1
+ Release: 8.04
+ [EMAIL PROTECTED]:~$ apt-cache policy gedit
+ gedit:
+ Installed: 2.22.3-0ubuntu1
+ Candidate: 2.22.3-0ubuntu1
+ Version table:
+ *** 2.22.3-0ubuntu1 0
+ 500 http://dk.archive.ubuntu.com hardy-updates/main Packages
+ 100 /var/lib/dpkg/status
+ 2.22.1-0ubuntu1 0
+ 500 http://dk.archive.ubuntu.com hardy/main Packages
When using gedit to edit files remotely it wont always let me save my
file again depending on the permissions on the parent directory.
Example:
Log into a remote machine.
Create a file called test1 in my home directory.
Create a file called test2 in /var/www
The directory /var/www is owned by root.
Make sure that both files are locally editable.
Log out of the remote machine.
Open Gedit and open the 2 files.
Now the file test1 can be edited without a problem
But the file test2 cannot, I get the error: "Could not save the file
sftp://server/var/www/test2. You do not have the permissions necessary to save
the file. Please check that you typed the location correctly and try again."
I suspect that Gedit wants to create a new file in the directories, delete
the old one and then move the new file to the old location.
Since /var/www isn't writeable by me it wont let me save the file test2.
I expected to be able to edit both files via Gedit.
--
gedit cannot save to sftp location
https://bugs.launchpad.net/bugs/250540
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gedit in ubuntu.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs