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

madc...@atlas.cz changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #105680|0                           |1
        is obsolete|                            |

--- Comment #29 from madc...@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 watching all bug changes.

Reply via email to