Re: [opensuse] Icons still gone
On 5/15/20 11:58 PM, Doug McGarrett wrote:
On 5/15/20 11:06 PM, Knurpht-openSUSE wrote:
Op zaterdag 16 mei 2020 05:01:44 CEST schreef Carlos E. R.:
On 16/05/2020 02.12, Doug McGarrett wrote: > On 5/15/20 2:51 PM, Carlos E. R. wrote:
ls -la | grep roogh
it should come out empty.
It doesn't, quite: doug@linux-4qnb:~> ls -la | grep root drwxr-xr-x 1 root root 148 May 14 19:08 .. drwx------ 1 root users 6 Jun 18 2019 .lightscribe doug@linux-4qnb:~>
But I'm not giving up lightscribe!
Ok, but it seems that you used it at least once as root. There may be other files owned as root, deeper than the first level, so we have to concoct a "find" command line that searches for them in your home. I am about to go to sleep, so maybe somebody else can come with it.
(The wikipedia says that its manufacturer gave up on it) That should be easy, it that is the issue. From a console:
chown doug:isers /home/doug -R changed "isers" to users. Ran the command: Lotsa files, all said "Operation not permitted, except:
chown: cannot read directory '/home/doug/.lightscribe': Permission denied doug@linux-4qnb:~>
I don't know why lightscribe is what it is, but I'm still not giving up on it. (It allows me to label CDs which are made for the purpose.) I don't know why lightscribe should be a .file--there's no reason.
Further info: looking up Permissions on the icon (which is still on the desktop, btw) says "This file is a link and does not have permissions." But it does say User: root Group: root. I'll dig into this further as time and interest permit. As it happens, the system is in flux right now with the icon problem, so this will have to wait. It's not hurting anything, AFAIK. --doug -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Sat, 16 May 2020, Doug McGarrett wrote: [..]
Further info: looking up Permissions on the icon (which is still on the desktop, btw) says "This file is a link and does not have permissions." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ But it does say User: root Group: root. I'll dig into this further as time and interest permit.
No need to. A symlink is _ALWAYS_ lrwxrwxrwx [NUMBER_OF_HARDLINKS] root root ... and so, as such, somewhat does not have any actual permissions. Read up in 'man 7 symlink' for the details! TL,DR: Forget about the rights of symlinks. You only need to care about the rights of the file or directory the symlink points to! (and yes, you can hardlink a symlink! *giggle*): $ ln -i ~/.Xdefaults ~/.Xdefaults.t $ ls -li ~/.Xdefaults ~/.Xdefaults.t 44230078 lrwxrwxrwx 2 root root 11 ~/.Xdefaults -> .Xresources 44230078 lrwxrwxrwx 2 root root 11 ~/.Xdefaults.t -> .Xresources [dates snipped and ${HOME} replaced for readability] $ rm ~/.Xdefaults.t Not sure why you'd want or need to, but, well, you can :) I wonder if e.g. rsnapshot or other backup SW make use of this, i.e. hardlink identical symlinks of various copies ;) Anyway, I *love* the Unix (V)FS concept.
As it happens, the system is in flux right now with the icon problem, so this will have to wait. It's not hurting anything, AFAIK.
See above. You only need to care about what the symlink points to. HTH, -dnh -- Why are you here? -- Fox, "Wanted" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
David Haller
-
Doug McGarrett