Commit e5c2f63e authored by Harald Sitter's avatar Harald Sitter
Browse files

use posix mode macros

...to be more consistent with the rest of the code
parent 98855307
......@@ -610,7 +610,7 @@ void SMBSlave::mkdir(const QUrl &kurl, int permissions)
int retVal = 0;
m_current_url = kurl;
retVal = smbc_mkdir(m_current_url.toSmbcUrl(), 0777);
retVal = smbc_mkdir(m_current_url.toSmbcUrl(), S_IRWXU | S_IRWXG | S_IRWXO);
if (retVal < 0) {
errNum = errno;
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment