Ubuntu Servers :: Gedit / Nautilus And SSH File Saving?
Jul 13, 2010
I connect with ssh to an Ubuntu server to edit some files in /var/www witch I have set the setgid bit:
# sudo chgrp -R www-data /var/www
# sudo chmod -R 770 /var/www
# sudo chmod -R g+s /var/www
I have added the user "user" to www-data group. Now I connect using ssh as user "user" to my server with nautilus. When I copy files using nautilus file get the group permission 'www-data' as they should. But if I edit a file using Gedit and save it, the file's group get changed to "user" group ?
View 2 Replies
ADVERTISEMENT
Jan 2, 2010
I have a new install of Karmic (not an upgrade) on my home network. All the other machines are XP sp2 or sp3. I have the following line in /etc/fstab:
Code:
//desktop/ddrive /home/dram/aDesktop-D cifs credentials=/etc/credentials.dt,nobrl,uid=1001,gid=1001 0 0
[code]....
View 2 Replies
View Related
May 6, 2010
I just updated to 10.04 from 9.10 and suddenly gedit is saying I don't have permission to save files in an sshfs-mounted directory. Nothing I've found through Google works.
* I'm mounting using `sshfs james@of1-dev-james:/home/james/projects $HOME/projects`
* `fuse` is listed in /etc/modules
* I'm a member of the `fuse` group
* Using `newgrp fuse` before mounting stops gedit from seeing the mounted directory at all.
* /dev/fuse belongs to `root:fuse` and has `crw-rw-rw-` permission.
* Other apps e.g. `nano` have no problem reading/writing to this directory.
View 6 Replies
View Related
Apr 25, 2010
I received this odd error when opening gedit from the terminal . gedit opened, but this error worries me code...
After changing the hostname, you need to reboot your machine. That fixed it
View 3 Replies
View Related
Apr 28, 2010
I find it weird that Ctrl+Tab doesn't switch tabs in both Nautilus nor Gedit. I've been fine with Gedit's Ctrl+Alt+Page alternative, but I can't find any shortcut for that task in Nautilus. It would be great if I could somehow customize it to Ctrl+Tab in both programs. Is that possible?
View 8 Replies
View Related
Oct 28, 2010
Is there any gedit plugin, which expands folders of file browser side pane and shows currently editing file, while user switches between tabs?
View 1 Replies
View Related
Feb 18, 2010
I've been trying out Nautilus-actions (Gnome 2.28.4), but have been unable to import most config files from [url].
When I attempt to import an action, it complains:
Quote:
Can't parse file 'convert_flv_to_avi.schemas' as GConf schema description file!
This XML file is not a valid Nautilus-actions config file (missing keys: )
So far, the only one that has worked for me is "Move to custom folder" [url].
View 2 Replies
View Related
Feb 20, 2010
I've installed webdav on my server and I can access it fine through cadaver. However, when I try to access it via nautilus, I get Forbidden. It is NOT secured (SSL). When I try to access it via firefox, I get an error since I DO NOT have "Options Indexes" in my apache config file. If I add this option in, then I can browse the root direction and webdav folder via firefox, but still not from nautilus. what other information you need. I've googled and searched the forums for awhile, but not "solutions" I found have worked for me. I want the webdav folder to just be a single folder within the direction, so this is how I have my config file setup:
[Code]....
As a side-note...when I included "Option Indexes", it allowed me to view the passwd.dav file from firefox!That doesn't seem very good...
View 4 Replies
View Related
Jul 2, 2010
I have 8.04 installed on virtual on a remote machine, also I installed apache2. I would like to istatall and configure other things, but I get this:
root@mobix:~# gedit /etc/vsftpd.conf
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
View 5 Replies
View Related
Jan 12, 2010
I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to
cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg
1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg
View 3 Replies
View Related
Mar 30, 2010
Designing a website locally on Ubuntu for the first time, Apache 2, PHP, MySQL, and PHP My Admin are all up and running fine.
I have been using Gedit to modify pages by opening them after navigating to the /var/www folder using gksudo naultilus. This works fine but I decided this morning that I wanted to use Aptana instead..
Aptana runs fine but when I try to save to anything under /var/www I get a permissions error. I tried giving myself read/write permissions both via terminal (chown) and in gksudo nautlius.. no change.
How can I write to these folders from Aptana? Also, is there any way to link to /var/www from my home folder so that I don't have to keep going there "the long way?"
View 5 Replies
View Related
May 18, 2011
I am planning to make a home made NAS running ubuntu server 10.04 LTS. Nothing fancy, simple samba with open access for all and openssh for admin access over the network. The NAS will not have heavy traffic, two home computers with occasional access, just to serve as central location. I am in doubt which CPU to use and I am after both budget and power saving solution.
1. I have an old Athlon Clawhammer I can use but the TDP of 90W is putting me off. I can also use existing 2x512MB DDR-400 memory with it. The board would be new.
2. I would rather invest in new mini-ITX board with built-in dual-core Atom D525 (TDP 13W), VGA and Gb ethernet. I would add 2GB DDR3-1333 memory.
Since I would need a new board for the Clawhammer too (current one doesn't have SATA), I am more attracted to option 2. Would the dual-core Atom be enough running this simple home NAS? I think it should but my experience with ubuntu server is limited.
View 4 Replies
View Related
Feb 8, 2010
I set-up my Sudo it works but when I use Gedit I get the following message
Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers
If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?
View 9 Replies
View Related
Oct 29, 2010
When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?
View 3 Replies
View Related
Feb 12, 2011
How to call Nautilus file browser with root permissions? "sudo nautilus" does not work. Under Ubuntu there is a command:
"gksu nautilus"
but this does not work in CentOS either.
View 2 Replies
View Related
May 15, 2010
I created the document in gedit and save button is disabled. It says "Changes to document 'Unsaved Document 1' will be permanently lost. saving has been disabled by system administrator"
View 9 Replies
View Related
Jun 4, 2011
Ok, so I'm trying to do this: [URL]
The problem is, when I get to the part where I have to open the file in gedit, it says it can't open it, file not found, or something or other..So, when I manually browse to the directory '.local/share/..' there is no folder named 'applications,' only a text file. When I open it, it appears to be the home launcher file, but its in the wrong place and has the wrong name. What's going on? Shouldn't there be a folder there with my applications in it?
View 6 Replies
View Related
Feb 9, 2010
So I've set up a Samba server through the gui. When I've labeled my shares as accessible to everyone, I can get to it no problem. However, when I tie it down to a specific samba user, I can't.
By all indications, it appears that it isn't saving the password because every time I go to edit users, it has the exact same string in the password field.
View 1 Replies
View Related
Jul 31, 2011
Kernel 2.6.21.5, slackware 12.0
Vim 7.1
I do 'vim c1 c2' and I begin copying parts of c2 to c1 (yank, put). Now, each time I go back to c2, I must save c1 first. But it happens that I'm not sure I want to save it. Is there a way to go back and forth between c1 and c2, making changes to one of them, without having to write to disk before switching? Notice the changes must be kept.
View 9 Replies
View Related
Apr 17, 2010
i want to save my file as gbk encoding with gedit,gedit can't do it, see the attachment
View 1 Replies
View Related
Jun 8, 2010
in shell ,i can usegedit /home/test.txtto open my file /home/test.txti want to know ,in shell how to use command to close the file which gedit edit?
View 2 Replies
View Related
Aug 19, 2010
I typed in a text file (Feb.txt) at work using the basic Microsoft Notepad text editor and emailed it home. When I tried to open it from the email using the default gedit I got an error message - Could not open the file /tmp/Feb.txt gedit has not been able to detect the character encoding. check that you are not trying to open a binary file. Select a character encoding from the menu and try again.The character encoding is set to 'automatically detected'.
How come it can't detect the encoding? I had to manually set the encoding to Western(ISO 8599-15) to load it. I can't remember this happening in the past, and it was OK loading one I sent earlier (Jan.txt) which presumably had the same encoding, as it was written in the same way.
View 3 Replies
View Related
Nov 5, 2010
I've noticed that for files longer than about 8000 lines that gedit has problems opening the file. Was gedit not designed for long files or is there another problem? The same thing also happens on complicated html files. So I hope there is a way to fix this.
View 4 Replies
View Related
Nov 18, 2010
I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to change sshfs connection to make gedit work without chmodding every file? (I use -o uid=`id -u` -o gid=`id -g`, so that remote files seem to be owned by me)
Code:
$ touch test.txt
[!] test.txt appears
$ vi test.txt
[!] :wq -> saves just FINE
[Code]...
View 4 Replies
View Related
Feb 16, 2010
I am using system() command to save command output in txt file and i am storing in one character variable.
For example Code: system("ls>output.txt"); but what should i do when i have to save another one command output in the same txt file continuously, for example
Code:
The output of these 2 commands should come in one txt file continously it should get over write.
View 1 Replies
View Related
May 9, 2010
getting this error when I try to use gedit to open and edit a file through terminal: (gedit:4423): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply:Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL]... 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) GConf Error: Failed I'm using ubuntu 10.04.
View 5 Replies
View Related
Dec 8, 2010
Using the latest version of Ubuntu desktop on an emachine t5062 if it matters. I have a text file of keywords that is one-three words line after line for like 5000 lines. How would I go about adding a word to each line.Aside from typing it in or copying and pasting.If it can`t be done with Gedit I am all for using another program.
View 8 Replies
View Related
Jul 21, 2009
If i type gedit while as root it give this warningQuote:(gedit:5655): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supportedGConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)And over the time, the paragraph block from GConf Error.... to ...was broken is repeated again and again
View 2 Replies
View Related
Nov 26, 2010
Is there anyway to force gedit to be aware of changes made to file permissions? The thing is, sometimes I open a readonly file and I just go back to the terminal and set write permissions on that file, but I have to close and open the file again so that gedit saves it. Is there anyway we can make gedit aware of changes to file permissions?
View 2 Replies
View Related
Apr 16, 2011
I have text files (.txt) to open with gedit but every time I try to open a text file it says:
Code:
Do you want to run "Installed programs", or display its contents?
And if I press Display it will open. How do I make it open automatically?
View 3 Replies
View Related