Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-09-25 15:23:32

Jakob77
Member
Registered: 2022-11-03
Posts: 58

Calibrating permissions for Xfce in home folder

Permissions for files and folders are all messed up by a user.
To find a cure I need to know what the correct permissions are.
I hope someone can help me with that and maybe some more syntax for the calibrating procedure.




Concerning ~/Desktop ....

It looks to me as 755 is the correct numeric permission setting for desktop launchers.
Then (from a Terminal opened in the Desktop folder) maybe this code can be used:

chmod 755 *.desktop

It is only imagination that puts a limit to all the different files and sub folders that can be stored in a desktop folder. So asking for permissions for them all is over the the top, but some common ones and maybe shortcuts.?





Concerning ~/.icons ....

I can see from other places that 755 and 777 are common for icons.
What to choose and how to handle it.?
In the ~/.icons there are Panel icons and mouse cursors with a lot of files and sub folders.
.png .svg .xcf .7z .theme and pictures and readme files with no extension.




Information about other folders in home can also be relevant but I think the two above are most important.



Thank you for any contribution. :-)



Some SI from the computer in quest:
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_x64 Wildflower January 15  2023

Offline

#2 2023-09-26 11:29:24

gogogadget
Member
Registered: 2023-03-19
Posts: 17

Re: Calibrating permissions for Xfce in home folder

Jakob77 wrote:

Concerning ~/Desktop ....

It looks to me as 755 is the correct numeric permission setting for desktop launchers.
Then (from a Terminal opened in the Desktop folder) maybe this code can be used:

chmod 755 *.desktop


Concerning ~/.icons ....

I can see from other places that 755 and 777 are common for icons.
What to choose and how to handle it.?

Since desktop launchers need a program to be launch, like desktop menu, whisker menu, launchers (Kupfer, Abert, Ulauncher) or Dex for example, there's no point to making them executable.

I don't use .desktop files on ~/Desktop, but in .config/autostart and .local/share/applications they're 644.

Same with the icons 644, no need to be executable, and 777 is for symbolic links.

Last edited by gogogadget (2023-09-26 11:30:29)


Xfce+gtk3-classic (no CSD)+Picom

Offline

#3 2023-10-04 07:54:46

Jakob77
Member
Registered: 2022-11-03
Posts: 58

Re: Calibrating permissions for Xfce in home folder

Thank you. :-)
If someone falls into the same mess I now have some code that can be a cure to normal data folders like pictures, text files and so.

Offline

Board footer

Powered by FluxBB