LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-12-2017, 08:50 AM   #31
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148

Quote:
Originally Posted by Gregg Bell View Post
Okay, teach. Did the exercises. My owner name is gregory. My group name is gregory. So:

Code:
chown -R gregory:gregory ~/.fonts
Right?

So I updated the ~/.fonts . Why am I changing ownership to reverse it?
in a car R is for Race
in Linux R is for Recursive. hehe
 
1 members found this post helpful.
Old 04-12-2017, 10:36 PM   #32
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by mrmazda View Post
On the surface one would expect it to ensure that ~/.fonts and all it contains belongs to owner gregory and group gregory. But, take a look in ~/.fonts with MC and see. An ordinary user doesn't have power to wrest ownership from root.


Case matters in FOSS commands and filesystems. Don't trust your memory. Do 'fc-cache --help' or 'man fc-cache' to see -r and -R are quite different. Take a look at 'chown --help' and/or 'man chown' as well.


It did not. One of the reasons for the #27 exercise was to present an opportunity to discover so. fc-cache updates the fontconfig cache, not the content of ~/.fonts. If ownership of the content of ~/.fonts was or is bad, it's not because of running fc-cache.


True.


In fact? Or, is that just something you think happened?


Look around in MC some more. I doubt anything in ~ is wrong on account of anything I've read in this thread, but if there is, MC in long listing mode, as would 'ls -al | less', should make bad ownerships readily apparent.
Thanks for the great post, teach. I will go over this tomorrow night (I have to talk to a friend who had a big medical test--I just wanted to check in) and explore MC for the answers to the issue here. I am a little confused in the macro though--in that there's nothing to worry about. Was there nothing to post 15 and the "weirdest errors" that might creep into the fonts? (And remember, I'm a writer!) Appreciate the help.
 
Old 04-12-2017, 10:37 PM   #33
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by BW-userx View Post
in a car R is for Race
in Linux R is for Recursive. hehe
Ah, that I can grasp! LOL
 
Old 04-12-2017, 10:50 PM   #34
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,335
Blog Entries: 1

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by Gregg Bell View Post
Was there nothing to post 15 and the "weirdest errors" that might creep into the fonts?
Only in that sudo has the potential to cause permissions trouble that can be difficult for those who don't understand permissions to diagnose. IMO that potential is entirely inapplicable in the context of fc-cache.
 
1 members found this post helpful.
Old 04-14-2017, 01:19 AM   #35
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by mrmazda View Post
Only in that sudo has the potential to cause permissions trouble that can be difficult for those who don't understand permissions to diagnose. IMO that potential is entirely inapplicable in the context of fc-cache.
Quote:
Only in that sudo has the potential to cause permissions trouble that can be difficult for those who don't understand permissions to diagnose.
Uh, that would be me!

Hi mrmazda. I just got done going through MC again. I did the two exercises. In the first exercise all the owners and groups are 'gregory.' So no 'root' there.

And in the Chown window in MC (via exercise #2) the "User name" highlighted was 'gregory' and the "Group name" was also higlighted on 'gregory.'

So...no need for the command suggested in post #22 (or any other post)? Are the crops saved? (Were the crops never in danger?) Thanks.
 
Old 04-14-2017, 01:52 AM   #36
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,335
Blog Entries: 1

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Quote:
Originally Posted by Gregg Bell View Post
So...no need for the command suggested in post #22 (or any other post)? Are the crops saved? (Were the crops never in danger?) Thanks.
Time to mark this thread solved grasshopper.
 
Old 04-14-2017, 10:26 PM   #37
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,992

Original Poster
Rep: Reputation: 175Reputation: 175
Quote:
Originally Posted by mrmazda View Post
Time to mark this thread solved grasshopper.
Okey dokey. Thanks for all the help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
12.04 Browser fonts changed unexpectedly after installing new fonts and rebooting jdier Linux - Software 1 11-19-2012 11:51 AM
Difficulty in understanding nohup Command. sowraj Linux - Newbie 2 01-28-2010 01:59 AM
LXer: Linux vs. Windows: Understanding the Difficulty Divide LXer Syndicated Linux News 0 05-27-2008 08:41 PM
Difficulty installing wxPython aregmi Linux - Software 2 05-29-2007 04:33 PM
Difficulty in understanding Gins Programming 6 07-12-2006 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration