[kio-extras] [Bug 376344] cant write to smb shares which has write access
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Tue May 23 07:08:54 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=376344
madcatx at atlas.cz changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #105680|0 |1
is obsolete| |
--- Comment #29 from madcatx at atlas.cz ---
Comment on attachment 105680
--> https://bugs.kde.org/attachment.cgi?id=105680
Allow write access to root samba share
>diff --git a/smb/kio_smb_browse.cpp b/smb/kio_smb_browse.cpp
>index 67e2fa09..7092e41c 100644
>--- a/smb/kio_smb_browse.cpp
>+++ b/smb/kio_smb_browse.cpp
>@@ -381,7 +381,7 @@ void SMBSlave::listDir( const QUrl& kurl )
> udsentry.insert( KIO::UDSEntry::UDS_FILE_TYPE, S_IFDIR );
>
> // Set permissions
>- udsentry.insert(KIO::UDSEntry::UDS_ACCESS, (S_IRUSR | S_IRGRP | S_IROTH | S_IXUSR | S_IXGRP | S_IXOTH));
>+ udsentry.insert(KIO::UDSEntry::UDS_ACCESS, (S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH));
>
> if (dirp->smbc_type == SMBC_SERVER) {
> // QString workgroup = m_current_url.host().toUpper();
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Plasma-devel
mailing list