You are not logged in.

#1 2024-04-27 16:33:46

Vescrity
Member
Registered: 2023-11-23
Posts: 5

Dolphin creat a new folder with permissions 777 by default?

Recently I found that if i create a folder through dolphin's GUI it creates a folder with a permission of 777. I think it might be a bug? And I tried to search it and I didn't find anything similar.

Offline

#2 2024-04-27 18:17:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,888

Re: Dolphin creat a new folder with permissions 777 by default?

Unlikely. Which filesystem? Most of the Microsoft family can't do posix and depending on your mount settings the perms will be logically faked to whatever.

Otherwise what's you umask? https://wiki.archlinux.org/title/Umask

Offline

#3 2024-04-28 02:21:43

Vescrity
Member
Registered: 2023-11-23
Posts: 5

Re: Dolphin creat a new folder with permissions 777 by default?

V1del wrote:

Unlikely. Which filesystem? Most of the Microsoft family can't do posix and depending on your mount settings the perms will be logically faked to whatever.

Otherwise what's you umask? https://wiki.archlinux.org/title/Umask

ext4, umask 000

And I just found something hard to believe. In a same folder, I tried `mkdir 22` in xfce-terminal, it created such a folder:
```
drwxr-xr-x     - vescrity vescrity 28 4月  10:13 22
```
But when I use dolphin's own terminal, `mkdir 44`, it ends up with
```
drwxrwxrwx     - vescrity vescrity 28 4月  10:19 44
```

Offline

#4 2024-04-28 02:49:51

Vescrity
Member
Registered: 2023-11-23
Posts: 5

Re: Dolphin creat a new folder with permissions 777 by default?

Just found that if I use it in KDE it works properly. In i3 it creates folder with 777.
Maybe I configured something wrong.

Offline

#5 2024-04-28 02:55:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,636

Re: Dolphin creat a new folder with permissions 777 by default?

Somewhere you're setting that bogus umask.

Offline

Board footer

Powered by FluxBB