[dolphin] [Bug 447580] New: Dolphin ignores umask

Emmett Culley bugzilla_noreply at kde.org
Mon Dec 27 17:32:22 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=447580

            Bug ID: 447580
           Summary: Dolphin ignores umask
           Product: dolphin
           Version: 21.08.3
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: lst_manage at webengineer.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Set user umask to 0002 in either /etc/bashrc or ~/.bashrc.
2.  Open dolphin or konqueror and create a directory in any local or remote
filesystem
3.  Note that prems are set to drwxr-sr-x

OBSERVED RESULT
Dolphin ignores umask set to 002

 I first discoverd it when a user complained she coud not access a file I
created on an NFS4 share.

I don't see this issue if I use fish:// to access any directory, local or
remote.

We are on fully updated fedora 34 and 35 systems, and this has been a problem
for quite awhile, through many Fedora updates, possibly as far back as fedora
18 (arbitrary number).  Until now I've usually just run chmod -R g+w  on the
share on the file server, then went about my business.  I have put it off too
long and so did a bit of investigation.

This happens on both Konqueror and Dolphin.  It never happens in Konsole. 
Meaning that if I open Konsole and cd to /fs1/work (the nfs share),  and create
a file or directory, the permissions are set to 664 and 2775 (SGID is set for
all directories) as expected with a umask of 002 for all users.  Note that the
umask on both servers and clients are set to 002.

So only Dolphin and Konqueror ignore the umask=0002 setting, and only when not
accessing a file system via fish.

EXPECTED RESULT
drwxrwsr-x permissions when creating a directory and rwxrwxr-x when creating a
file.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux/KDE Plasma
(available in About System)
KDE Plasma Version:  5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Fedora 34 and other versions of Fedora

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list