SAMBA server upload directory with subdirectories from Windows 10 machine - permission required

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have an Ubuntu Server 16.04 machine with SAMBA server running on it. I try to upload a directory containing subdirectories and files in them, through the file manager of my OS (elementaryOS Loki in the past and Manjaro now) and everything runs smoothly. The upload is done.
This is an example directory structure:



directory/
+--sub-directory-1/
| +--file-1
+--sub-directory-2/
+--file-2


But when another user, using Windows 10 tries to upload the directory, the main directory is created but neither the sub-directories nor the sub-files are being created and uploaded - The server returns Permission denied message. The samba share is configured as follows:



[Media]
comment = Music, Videos and Pictures
path = /mnt/media
available = yes
browseable = yes
read only = no
public = yes
create mask = 0775
direcotory mask = 0775


The password protected sharing is turned off in SAMBA and it reads all the files as supposed to (without a credentials prompt). Also the directory /mnt/media's permissions are set to 777. What could cause the problem? Is it even in Ubuntu or in Windows 10 (no such problem with Windows 7 machines)?







share|improve this question




















  • What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
    – Nasir Riley
    Mar 22 at 20:20















up vote
0
down vote

favorite












I have an Ubuntu Server 16.04 machine with SAMBA server running on it. I try to upload a directory containing subdirectories and files in them, through the file manager of my OS (elementaryOS Loki in the past and Manjaro now) and everything runs smoothly. The upload is done.
This is an example directory structure:



directory/
+--sub-directory-1/
| +--file-1
+--sub-directory-2/
+--file-2


But when another user, using Windows 10 tries to upload the directory, the main directory is created but neither the sub-directories nor the sub-files are being created and uploaded - The server returns Permission denied message. The samba share is configured as follows:



[Media]
comment = Music, Videos and Pictures
path = /mnt/media
available = yes
browseable = yes
read only = no
public = yes
create mask = 0775
direcotory mask = 0775


The password protected sharing is turned off in SAMBA and it reads all the files as supposed to (without a credentials prompt). Also the directory /mnt/media's permissions are set to 777. What could cause the problem? Is it even in Ubuntu or in Windows 10 (no such problem with Windows 7 machines)?







share|improve this question




















  • What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
    – Nasir Riley
    Mar 22 at 20:20













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have an Ubuntu Server 16.04 machine with SAMBA server running on it. I try to upload a directory containing subdirectories and files in them, through the file manager of my OS (elementaryOS Loki in the past and Manjaro now) and everything runs smoothly. The upload is done.
This is an example directory structure:



directory/
+--sub-directory-1/
| +--file-1
+--sub-directory-2/
+--file-2


But when another user, using Windows 10 tries to upload the directory, the main directory is created but neither the sub-directories nor the sub-files are being created and uploaded - The server returns Permission denied message. The samba share is configured as follows:



[Media]
comment = Music, Videos and Pictures
path = /mnt/media
available = yes
browseable = yes
read only = no
public = yes
create mask = 0775
direcotory mask = 0775


The password protected sharing is turned off in SAMBA and it reads all the files as supposed to (without a credentials prompt). Also the directory /mnt/media's permissions are set to 777. What could cause the problem? Is it even in Ubuntu or in Windows 10 (no such problem with Windows 7 machines)?







share|improve this question












I have an Ubuntu Server 16.04 machine with SAMBA server running on it. I try to upload a directory containing subdirectories and files in them, through the file manager of my OS (elementaryOS Loki in the past and Manjaro now) and everything runs smoothly. The upload is done.
This is an example directory structure:



directory/
+--sub-directory-1/
| +--file-1
+--sub-directory-2/
+--file-2


But when another user, using Windows 10 tries to upload the directory, the main directory is created but neither the sub-directories nor the sub-files are being created and uploaded - The server returns Permission denied message. The samba share is configured as follows:



[Media]
comment = Music, Videos and Pictures
path = /mnt/media
available = yes
browseable = yes
read only = no
public = yes
create mask = 0775
direcotory mask = 0775


The password protected sharing is turned off in SAMBA and it reads all the files as supposed to (without a credentials prompt). Also the directory /mnt/media's permissions are set to 777. What could cause the problem? Is it even in Ubuntu or in Windows 10 (no such problem with Windows 7 machines)?









share|improve this question











share|improve this question




share|improve this question










asked Mar 22 at 19:46









Emil Avramov

1164




1164











  • What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
    – Nasir Riley
    Mar 22 at 20:20

















  • What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
    – Nasir Riley
    Mar 22 at 20:20
















What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
– Nasir Riley
Mar 22 at 20:20





What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
– Nasir Riley
Mar 22 at 20:20
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f432920%2fsamba-server-upload-directory-with-subdirectories-from-windows-10-machine-perm%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f432920%2fsamba-server-upload-directory-with-subdirectories-from-windows-10-machine-perm%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?