Hello - I admit to being new to Linux. I'm not sure if this problem should be re-routed to a more advanced level, though.
I downloaded Oracle Linux ver. 7 on my server with Server settings (and a Gnome GUI). After running through the terminal basics, I tried opening gedit to test out its capabilities. It wouldn't let me save to folder; it just grayed out and I had to quit the application.
I modified gedit to -rwxrwxrwx (chmod) and took ownership of the file (chown) under my user profile and group. When that didn't work, I re-logged in as root and modified gedit back to root ownership and group, and it still won't save changes to any file location.
One more thing: gksudo didn't work, either...
Any suggestions?
I have just installed a new debian OS and want to change a file.
For some reason, gedit didn't come pre-packaged so I installed it with apt-get.
When I use a terminal as root, gedit won't open. I get the following error message:
Code:
gedit grub
(gedit:3679): EggSMClient-WARNING **: Failed to connect to the session
manager: Authentication Rejected, reason : None of the authentication
protocols specified are supported and host-based authentication
failed
Gedit will open page files on the desktop - but not on the terminal.
Is this because I haven't done something with the new install or should I remove gedit and reinstall?
I have Ubuntu 14.04. gedit is my preferred text and code editor. All of a sudden I am getting this warnng when I open a txt file:
Quote:
(gedit:3860): Gtk-WARNING **: GtkScrolledWindow 0x9bba3c8 is mapped but visible child GtkScrollbar 0x9bbc7a8 is not mapped
There are four such warnings in a row (or rather column). They litter my terminal output. What is this and how to correct it?
Thanks, - A.
Hi, I am working with scientific linux 4 with specification Linux localhost.localdomain 2.6.9-67.EL.cernsmp #1 SMP Wed Nov 21 16:22:33 CET 2007 i686 i686 i386 GNU/Linux. How can I change my cursor color from black to green in gedit. thanks in advance.
Biplab Bijay
I have a directory structure and files I wish to change permissions on, but I don't want to change permissions on every file/subfolder along the way. Example: I want to chown all files in dir4 where my directory struture is:
/dir1/dir2/dir3/dir4/*
However, both dir3 and dir4 are owned by root:root so I need to change the ownership on those directories as well. But, if I do:
chown -R user:group /dir1/dir2/dir3/dir4/
...it will indeed make dir4 and it's files accessible, but it doesn't change dir3 - so folks still can't get to the files they need. I thought about doing:
chown -R user:group /dir1/dir2/dir3*
... but that will give users access not only to dir4 and it's files, but any other files under dir3 which I don't want.
My work around has been to do a chown on /dir1/dir2/dir3 and then a second chown on /dir1/dir2/dir3/dir4/, but I am thinking there has to be a way to do what I want in a single chown command - right?
i have a few score of files (>50) in fasta format. these work fine in linux os
but i have to send these to a collegue who uses windows. and these files don't open properly in notepad or wordpad. executing save as to windows format does the trick
but i don't want to manually convert all of them
is ther a way i can accomplish conversion of multiple files and saving them in a format of my choosing using say terminal
I'm trying to install a tar file and as root, when I use the following tar commands
Code:
tar -xvfp file.tar
or
tar -xf file.tar
For some reason, it strips out the user id and group id and replaces with the the following numbers: 544 for UID and 400 for GID.
Also, from what I'm reading, it looks like tar preverses permissions from one server to another, which I didn't know.
Because of this, I can't install this file, is there a way around this?
thanks
I tried adding two users in apache group and given 775 permission to Document root but user is not able to write into files in DocumentRoot
Tried adding user and DocumentRoot Folder in sudo file but not able to do it recursively
please help
Thanks for reply,
I have already given chmod 775 -R DocumentRoot - for recursively writting permission
You have told to add user in www-data group and chmod 775 -R to DocumentRoot
usermod -a -G www-data <user1>
How can users in www-data can able to write in DocumentRoot which has apache:apache owner and group
please clarify...
Done below steps to solve this:
1) I have created a new group webdata and added required users in this group
2) set sticky bit to document root with below command
setfacl -m g:webdata:rwx -R /path/to/documentroot/
this command will set rwx permission to DocumentRoot so that members in webdata can have full access but still DocumentRoot user and group will be apache
Directory /media/data/torrents/ has permissions 775, user yzt, group transmission
yzt and debian-transmission are members of the group transmission.
transmission-daemon is run by debian-transmission, and the new files it downloads have permissions 644, owner debian-transmission, group transmission. This is a problem, because I can't later move the files as my user, yzt, and need to be switching to root to change the permissions/ownership to be able to do so.
Using sticky bit I could copy it to anywhere else, but I'm interested on actually moving the file, not just copying it. I could run transmission-daemon as yzt and problem solved, but I rather have that internet facing service running by a limited user, just in case some vulnerability is found on Transmission.
So my question is, how can I set that every new file created under /media/data/torrents/ has permissions 775 like its parent directory?
Here is the problem:
/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status 256
Here are all the solutions I founded on the internet (NONE of them work):
rm -rf /var/tmp/rc_host_0
chown -rwx root:root /tmp
chmod 1777 /tmp
chmod 0755 /home
chmod a+rwx /tmp
chown -R root:root /var/lib/gdm
chmod -R 777 /var/lib/gdm
rm -rf /var/lib/gdm3/.*
rm -rf /var/lib/gdm/.*
rm -rf /Home Dir/UserName/.gcon*
rm -rf /Home Dir/UserName/.gnom*
rm -rf /Home Dir/UserName/.cache
rm -rf /Home Dir/UserName/.person*
touch /Home Dir/UserName/.personal.login
cat /etc/gconf/gconf.xml.system
mkdir -p /usr/local/etc/gconf/gconf.xml.default
chmod 775 /etc/gconf/gconf.xml.system
Here is my system information:
Linux Kernel v2.6.32-504.12.2.el6.x86_64
CentOS 6.6
GNOME 2.28.2
I have been searching for an answer all week and found NONE.
Somebody, Anybody please help!!!
The only solution I found that works is deleting all the .files, but there's got to be a better way.
Hello all,
Is there any 'key' to save and continue editing in vim, just like there is :wq to save and quit (also ZZ )? Right now I use :w and i keys to save and continue. I keep saving file every other minute and wondering is there any short-cut for that. Not that :w + i are too many key-presses, just for curiosity i want to know.
Thanks