Cannot write to Pi Samba Server Ubuntu 18.04.1












0















I have been setting up a raspberry pi Samba Server, however I have not been able to write from Ubuntu 18.04.1



Here is my config file.



[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
valid users = %S

[User3]
create mask = 0775
directory mask = 0775
comment = User3's Storage
path = /home/shares/public/User3
valid users = User3
read only = no
writeable = yes

[User2]
create mask = 0775
directory mask = 0775
comment = User2's Storage
path = /home/shares/public/User2
valid users = User2
read only = no
writeable = yes

[User1]
create mask = 0775
directory mask = 0775
comment = User1's Storage
path = /home/shares/public/User1
valid users = User1
writeable = yes
read only = no


I get the error "Permission Denied" when I try and make a dir. I connect from the "Other Locations" of the default file explorer with "smb://Server.IP.1.Here"



Any ideas? Thanks.



EDIT: Authentication is set to "security = user"










share|improve this question























  • Do the Linux permissions allow write: "ls -al /home/shares/public"

    – Morbius1
    Jan 30 at 22:42











  • I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

    – sn0wvall
    Jan 31 at 17:19


















0















I have been setting up a raspberry pi Samba Server, however I have not been able to write from Ubuntu 18.04.1



Here is my config file.



[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
valid users = %S

[User3]
create mask = 0775
directory mask = 0775
comment = User3's Storage
path = /home/shares/public/User3
valid users = User3
read only = no
writeable = yes

[User2]
create mask = 0775
directory mask = 0775
comment = User2's Storage
path = /home/shares/public/User2
valid users = User2
read only = no
writeable = yes

[User1]
create mask = 0775
directory mask = 0775
comment = User1's Storage
path = /home/shares/public/User1
valid users = User1
writeable = yes
read only = no


I get the error "Permission Denied" when I try and make a dir. I connect from the "Other Locations" of the default file explorer with "smb://Server.IP.1.Here"



Any ideas? Thanks.



EDIT: Authentication is set to "security = user"










share|improve this question























  • Do the Linux permissions allow write: "ls -al /home/shares/public"

    – Morbius1
    Jan 30 at 22:42











  • I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

    – sn0wvall
    Jan 31 at 17:19
















0












0








0








I have been setting up a raspberry pi Samba Server, however I have not been able to write from Ubuntu 18.04.1



Here is my config file.



[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
valid users = %S

[User3]
create mask = 0775
directory mask = 0775
comment = User3's Storage
path = /home/shares/public/User3
valid users = User3
read only = no
writeable = yes

[User2]
create mask = 0775
directory mask = 0775
comment = User2's Storage
path = /home/shares/public/User2
valid users = User2
read only = no
writeable = yes

[User1]
create mask = 0775
directory mask = 0775
comment = User1's Storage
path = /home/shares/public/User1
valid users = User1
writeable = yes
read only = no


I get the error "Permission Denied" when I try and make a dir. I connect from the "Other Locations" of the default file explorer with "smb://Server.IP.1.Here"



Any ideas? Thanks.



EDIT: Authentication is set to "security = user"










share|improve this question














I have been setting up a raspberry pi Samba Server, however I have not been able to write from Ubuntu 18.04.1



Here is my config file.



[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0775
directory mask = 0775
valid users = %S

[User3]
create mask = 0775
directory mask = 0775
comment = User3's Storage
path = /home/shares/public/User3
valid users = User3
read only = no
writeable = yes

[User2]
create mask = 0775
directory mask = 0775
comment = User2's Storage
path = /home/shares/public/User2
valid users = User2
read only = no
writeable = yes

[User1]
create mask = 0775
directory mask = 0775
comment = User1's Storage
path = /home/shares/public/User1
valid users = User1
writeable = yes
read only = no


I get the error "Permission Denied" when I try and make a dir. I connect from the "Other Locations" of the default file explorer with "smb://Server.IP.1.Here"



Any ideas? Thanks.



EDIT: Authentication is set to "security = user"







18.04 samba






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 30 at 20:13









sn0wvallsn0wvall

1




1













  • Do the Linux permissions allow write: "ls -al /home/shares/public"

    – Morbius1
    Jan 30 at 22:42











  • I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

    – sn0wvall
    Jan 31 at 17:19





















  • Do the Linux permissions allow write: "ls -al /home/shares/public"

    – Morbius1
    Jan 30 at 22:42











  • I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

    – sn0wvall
    Jan 31 at 17:19



















Do the Linux permissions allow write: "ls -al /home/shares/public"

– Morbius1
Jan 30 at 22:42





Do the Linux permissions allow write: "ls -al /home/shares/public"

– Morbius1
Jan 30 at 22:42













I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

– sn0wvall
Jan 31 at 17:19







I ended up using chmod 777 /home/shares/public as the permissions meant that the permissions were incorrect (they were "drwxr-xr-x" ). Is there a better method?

– sn0wvall
Jan 31 at 17:19












0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114214%2fcannot-write-to-pi-samba-server-ubuntu-18-04-1%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1114214%2fcannot-write-to-pi-samba-server-ubuntu-18-04-1%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido