Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
You're also running "chown -R" which is to recursively change permissions in a directory against the single file .ICEauthority.
This begs the question of why you are doing that in the first place? What's the actual issue you're trying to resolve?
You're also running "chown -R" which is to recursively change permissions in a directory against the single file .ICEauthority.
This begs the question of why you are doing that in the first place? What's the actual issue you're trying to resolve?
Every time I log in I get the little white box that says .ICEauthority cannot be updated. I click logout then LM logs in regularly.
I think this is a file permissions issue, although some say it is because I encrypted the home directory when I first installed LM and will just have to delete, format the partition, and reinstall LM.
I am researching file permissions to see if I can solve the problem in another way.
In the ubuntu forum thread linked by another poster in this thread, it says I may already have done damage by using -R, but so far everything is fine.
Yes I accessed help and have read the options but don't see how they apply yet.
It seems to me I did include username 3 times:
"[username-computer model] [username] # chown -R /home/[username]/.ICEauthority
chown: missing operand after /home/[username]/.ICEauthority"
Are you saying my username (root) should go after the final .ICEauthority?
In other words the file .ICE authority is misbehaving , so I am trying to change its ownership back to myself.
It looks the first step in the thread your reference is to do something like this:
ls -ld ../kevin /home
drwxr-xr-x 35 kevin kevin 12288 2012-01-10 19:36 ../kevin
drwxr-xr-x 5 root root 4096 2011-01-14 23:01 /home
ls -l is a report command. How would I phrase the first line?
[my user prompt] ls -l then ?
Also in this thread it says to do this:
"cd /home/kevin
sudo touch .ICEauthority # creates blank file with name .ICEauthority
sudo chown kevin:kevin .ICEauthority # makes "kevin" owner of the file
sudo chmod 600 .ICEauthority # sets permissions to "-rw-------" (read/write access to owner only)"
I can do this after I found out what touch means. I believe I have already deleted .ICEauthority with the rm command. If not I can delete it again then input this code.
But don't forget to substitute your username for kevin in the above. Those steps are doing the following:
Chance directory to your home directory (you type your username and not kevin).
Make a file called .ICEauthority.
Change the owner of the file to username and group called kevin (for which you substitute your own name).
Change the permissions of the file to read and write for the owner only. http://www.thinkplexx.com/learn/arti...00-777-100-etc
But don't forget to substitute your username for kevin in the above. Those steps are doing the following:
Chance directory to your home directory (you type your username and not kevin).
Make a file called .ICEauthority.
Change the owner of the file to username and group called kevin (for which you substitute your own name).
Change the permissions of the file to read and write for the owner only. http://www.thinkplexx.com/learn/arti...00-777-100-etc
to I would type:
==========================================
cd /home/[my username]
sudo touch .ICEauthority
sudo chown [my username]:[my username] .ICEauthority
sudo chmod 600 .ICEauthority
===================================================
why wouldn't I want to do all this as root?
Why wouldn't I give myself, as owner and root, execute (x) permissions also?
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by chrism01
If this is in your personal (non-root) dir, then you shouldn't need sudo.
@Tonus: other way around: # = root, $ = non-root (assuming usual defaults...)
Sorry, yes this is quite right. It may be necessary to sudo to remove the existing file but those steps don't need sudo.
My apologies, I hadn't twigged when copying over.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.