[SOLVED] Cannot read file permissions of shortcuts created on desktop

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

[SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Mon Nov 12, 2018 4:16 pm

Hi all,

I'm getting prepared to move my partner from 18.3 to 19. I don't want to do an in-place upgrade because I've run the simulation and there were LOTS of errors, plus his system is getting strange, hence the fresh install of 19.

Here's the situation: right now, he has URL shortcuts on his desktop. Most work fine, a couple hang and give a message about needing to create Permissions...

I've been trying to check on the permissions of these shortcut files using his file manager (18.3 Cinnamon) and none can determined. I get the message:

The permissions of <nameofshortcut> could not be determined. When I check the ownership and permissions of Desktop with stat -c '%a %A %U %G %n' *, I get

Code: Select all

755 drwxr-xr-x jim jim Desktop
and the files within Desktop are all

Code: Select all

664 -rw-rw-r-- jim jim <filename1>.desktop
664 -rw-rw-r-- jim jim <filename2>.desktop
664 -rw-rw-r-- jim jim <filename3>.desktop
They are exactly like mine are on my laptop, but obviously with me as owner and group.

Now here's the kicker---after installing a fresh Mint 19, I copied those shortcuts to the 19 desktop and the results are the same: The permissions of <nameofshortcut> could not be determined.

What could be happening with the files in 18.3 and 19?
Last edited by JerryF on Tue Nov 13, 2018 5:08 pm, edited 1 time in total.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
lsemmens
Level 6
Level 6
Posts: 1260
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: Cannot read file permissions of shortcuts created on desktop

Post by lsemmens » Tue Nov 13, 2018 6:37 am

I have a heap of those sorts of launchers that do that on a first run after installing a new OS, but once I double click on them and Linux tells me that the permissions are suspect, if I tell it to allow them, I never have the trouble again with that launcher on that computer. If you have hundreds of launchers, however, it could be a bit tedious working through each one.
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Tue Nov 13, 2018 11:03 am

lsemmens wrote:
Tue Nov 13, 2018 6:37 am
I have a heap of those sorts of launchers that do that on a first run after installing a new OS, but once I double click on them and Linux tells me that the permissions are suspect, if I tell it to allow them, I never have the trouble again with that launcher on that computer. If you have hundreds of launchers, however, it could be a bit tedious working through each one.
Thanks for replying. When I click on the launchers, they open Chrome and go to the URL. I don't get a message about the permissions being suspect and no prompt to allow them.

I'm at the point where I'm going to reinstall 19 and create the shortcuts one by one, instead of copying them from 18.3
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Tue Nov 13, 2018 11:37 am

Well, I just did a fresh install of 19 on the desktop.

The first thing I did was to open Firefox. In a fresh install, that opens the Linux Mint page.

I then proceeded to drag the URL onto the desktop.

When I clicked on the newly-created shortcut, it opened Linux Mint page, which it should.

Then I checked permissions by right-clicking and choosing Properties.

Again, permissions can't be determined.

:cry:
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
administrollaattori
Level 15
Level 15
Posts: 5669
Joined: Tue Sep 03, 2013 4:51 am
Location: Finland
Contact:

Re: Cannot read file permissions of shortcuts created on desktop

Post by administrollaattori » Tue Nov 13, 2018 12:33 pm

Code: Select all

find /home/jim/Desktop -type f -print0 | xargs -0 chmod 744

gm10
Level 13
Level 13
Posts: 4689
Joined: Thu Jun 21, 2018 5:11 pm

Re: Cannot read file permissions of shortcuts created on desktop

Post by gm10 » Tue Nov 13, 2018 12:46 pm

JerryF wrote:
Tue Nov 13, 2018 11:37 am
I then proceeded to drag the URL onto the desktop.

When I clicked on the newly-created shortcut, it opened Linux Mint page, which it should.

Then I checked permissions by right-clicking and choosing Properties.

Again, permissions can't be determined.
I already explained this to you a few months ago when you asked the same question:
gm10 wrote:
Wed Aug 08, 2018 12:44 pm
The question is what's in those .desktop files. If they are of type=link then it's normal that the permissions fail because the file browser tries to determine the permissions of the link target, and a linked URL doesn't have any.

You can avoid that by creating them as application type with xdg-open <url> as the command.
I feel slightly hurt that you would forget. :D <3

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Tue Nov 13, 2018 5:06 pm

gm10 wrote:
Tue Nov 13, 2018 12:46 pm
JerryF wrote:
Tue Nov 13, 2018 11:37 am
I then proceeded to drag the URL onto the desktop.

When I clicked on the newly-created shortcut, it opened Linux Mint page, which it should.

Then I checked permissions by right-clicking and choosing Properties.

Again, permissions can't be determined.
I already explained this to you a few months ago when you asked the same question:
gm10 wrote:
Wed Aug 08, 2018 12:44 pm
The question is what's in those .desktop files. If they are of type=link then it's normal that the permissions fail because the file browser tries to determine the permissions of the link target, and a linked URL doesn't have any.

You can avoid that by creating them as application type with xdg-open <url> as the command.
I feel slightly hurt that you would forget. :D <3
Really sorry about that gm10. :oops: So much has been going on in my life and my memory retention isn't what it used to be. I can remember things from 35 years ago, but ask me about last year (or whenever), :?:

Side note: I did another installation of 19, now it was Xfce instead of Cinnamon and dragging a URL to the desktop works. I can see the permissions from Properties and the link opens the web browser to the URL.

My partner is going to get Xfce, which I have on my laptop.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Tue Nov 13, 2018 5:08 pm

administrollaattori wrote:
Tue Nov 13, 2018 12:33 pm

Code: Select all

find /home/jim/Desktop -type f -print0 | xargs -0 chmod 744
As I told gm10, I'm going to install Xfce. Seeing permissions works from properties and the links open the URLs.

Thanks!
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

gm10
Level 13
Level 13
Posts: 4689
Joined: Thu Jun 21, 2018 5:11 pm

Re: Cannot read file permissions of shortcuts created on desktop

Post by gm10 » Tue Nov 13, 2018 5:12 pm

JerryF wrote:
Tue Nov 13, 2018 5:06 pm
Really sorry about that gm10. :oops: So much has been going on in my life and my memory retention isn't what it used to be. I can remember things from 35 years ago, but ask me about last year (or whenever), :?:
No worries, I was joking. In fact I was astonished at myself for remembering that we had even talked about it. It was so insignificant. I probably lost some important information instead to make room for this. ;)
JerryF wrote:
Tue Nov 13, 2018 5:06 pm
Side note: I did another installation of 19, now it was Xfce instead of Cinnamon and dragging a URL to the desktop works. I can see the permissions from Properties and the link opens the web browser to the URL.
Interesting. I know that both Cinnamon and MATE show you the properties of the link target, not the link itself. It's probably by design. I didn't know Xfce took a different approach.

User avatar
lsemmens
Level 6
Level 6
Posts: 1260
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: [SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by lsemmens » Tue Nov 13, 2018 7:15 pm

The only issue I foresee with using xfce is that file sharing is a little more convoluted than in Cinnamon. I had to set xfce up on a small lappy that is my spare and file sharing does not work "out of the box" on that.
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Tue Nov 13, 2018 7:41 pm

lsemmens wrote:
Tue Nov 13, 2018 7:15 pm
The only issue I foresee with using xfce is that file sharing is a little more convoluted than in Cinnamon. I had to set xfce up on a small lappy that is my spare and file sharing does not work "out of the box" on that.
Thanks for that advice. I've never had good luck with file sharing in either DE.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

User avatar
lsemmens
Level 6
Level 6
Posts: 1260
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: [SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by lsemmens » Tue Nov 13, 2018 7:53 pm

It was simple enough to set up, it just does not work "out of the box" There is a thread that I started asking about it. If you can find that, you'll see some very useful answers there.
Kernel: 4.15.0-36-generic x86_64 bits: 64
Desktop: Cinnamon 3.8.9
Distro: Linux Mint 19 Tara

Laptop T4500 Dualcore 4Gb RAM
Server AMD Phenom 9650 - GEForce 9400GT 6Gb RAM
+ three other Linux Mint machines
Out of my mind - please leave a message

luth3r
Level 1
Level 1
Posts: 4
Joined: Wed Nov 14, 2018 6:05 am

Re: [SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by luth3r » Wed Nov 14, 2018 6:08 am

Thanks mate been looking for a solution on this for a while.

User avatar
JerryF
Level 10
Level 10
Posts: 3475
Joined: Mon Jun 08, 2015 1:23 pm
Location: Rhode Island, USA

Re: [SOLVED] Cannot read file permissions of shortcuts created on desktop

Post by JerryF » Wed Nov 14, 2018 11:42 am

lsemmens wrote:
Tue Nov 13, 2018 7:53 pm
It was simple enough to set up, it just does not work "out of the box" There is a thread that I started asking about it. If you can find that, you'll see some very useful answers there.
I will! Thanks.
IF your problem has been solved, please edit your original post and add [SOLVED] to the beginning of the Subject Line. It helps other members.

Post Reply

Return to “Software & Applications”