SAMBA server upload directory with subdirectories from Windows 10 machine - permission required
Clash 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)?
ubuntu permissions windows samba
add a comment |Â
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)?
ubuntu permissions windows samba
What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
â Nasir Riley
Mar 22 at 20:20
add a comment |Â
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)?
ubuntu permissions windows samba
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)?
ubuntu permissions windows samba
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
add a comment |Â
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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What are the permissions of the created directory after it doesn't create the subdirectories and subfiles?
â Nasir Riley
Mar 22 at 20:20