Samba configuration for LAMP server











up vote
0
down vote

favorite












I am new to ubuntu and samba in general, so please forgive my ignorance. I am trying to set up my server at home so that I can update the .html files on the server from my windows pc.



Here is the configuration that I have now:



[mattmooseHTML]
comment = HTML FILES
path =/var/www/html/
browseable = yes
guest ok = yes
writeable = yes
read only = no


I am getting the File Access Denied error:
You require permission from Unixroot to make changes to this file
when I try to overwrite or save anything in that folder.
What do I need to do?










share|improve this question









New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • "I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
    – jdv
    Dec 12 at 18:27










  • I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
    – mattmoose21
    Dec 12 at 18:45






  • 1




    Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
    – jdv
    Dec 12 at 19:42












  • help.ubuntu.com/lts/serverguide/samba-fileserver.html
    – jdv
    Dec 12 at 19:54















up vote
0
down vote

favorite












I am new to ubuntu and samba in general, so please forgive my ignorance. I am trying to set up my server at home so that I can update the .html files on the server from my windows pc.



Here is the configuration that I have now:



[mattmooseHTML]
comment = HTML FILES
path =/var/www/html/
browseable = yes
guest ok = yes
writeable = yes
read only = no


I am getting the File Access Denied error:
You require permission from Unixroot to make changes to this file
when I try to overwrite or save anything in that folder.
What do I need to do?










share|improve this question









New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • "I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
    – jdv
    Dec 12 at 18:27










  • I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
    – mattmoose21
    Dec 12 at 18:45






  • 1




    Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
    – jdv
    Dec 12 at 19:42












  • help.ubuntu.com/lts/serverguide/samba-fileserver.html
    – jdv
    Dec 12 at 19:54













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am new to ubuntu and samba in general, so please forgive my ignorance. I am trying to set up my server at home so that I can update the .html files on the server from my windows pc.



Here is the configuration that I have now:



[mattmooseHTML]
comment = HTML FILES
path =/var/www/html/
browseable = yes
guest ok = yes
writeable = yes
read only = no


I am getting the File Access Denied error:
You require permission from Unixroot to make changes to this file
when I try to overwrite or save anything in that folder.
What do I need to do?










share|improve this question









New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am new to ubuntu and samba in general, so please forgive my ignorance. I am trying to set up my server at home so that I can update the .html files on the server from my windows pc.



Here is the configuration that I have now:



[mattmooseHTML]
comment = HTML FILES
path =/var/www/html/
browseable = yes
guest ok = yes
writeable = yes
read only = no


I am getting the File Access Denied error:
You require permission from Unixroot to make changes to this file
when I try to overwrite or save anything in that folder.
What do I need to do?







networking windows apache2 samba lamp






share|improve this question









New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Dec 12 at 18:40





















New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Dec 12 at 17:49









mattmoose21

12




12




New contributor




mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






mattmoose21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • "I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
    – jdv
    Dec 12 at 18:27










  • I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
    – mattmoose21
    Dec 12 at 18:45






  • 1




    Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
    – jdv
    Dec 12 at 19:42












  • help.ubuntu.com/lts/serverguide/samba-fileserver.html
    – jdv
    Dec 12 at 19:54


















  • "I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
    – jdv
    Dec 12 at 18:27










  • I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
    – mattmoose21
    Dec 12 at 18:45






  • 1




    Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
    – jdv
    Dec 12 at 19:42












  • help.ubuntu.com/lts/serverguide/samba-fileserver.html
    – jdv
    Dec 12 at 19:54
















"I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
– jdv
Dec 12 at 18:27




"I am getting an error." Maybe share that as an edit to the question so we don't have to install the "mind reader" package?
– jdv
Dec 12 at 18:27












I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
– mattmoose21
Dec 12 at 18:45




I added that edit, my apologies. Also I just tried editing file in nano on the device and get "Permission denied" error unless I am in sudo. Is there something that I have to do to give permissions to user or to open it up to guest?
– mattmoose21
Dec 12 at 18:45




1




1




Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
– jdv
Dec 12 at 19:42






Hmmm. It's unclear to me what your question is. Are you having trouble editing the SMB conf file, or having trouble accessing files on a filesystem shared by SMB? Make sure it is clear in your question what you are trying to do, exactly.
– jdv
Dec 12 at 19:42














help.ubuntu.com/lts/serverguide/samba-fileserver.html
– jdv
Dec 12 at 19:54




help.ubuntu.com/lts/serverguide/samba-fileserver.html
– jdv
Dec 12 at 19:54















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
});


}
});






mattmoose21 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1100406%2fsamba-configuration-for-lamp-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








mattmoose21 is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















mattmoose21 is a new contributor. Be nice, and check out our Code of Conduct.













mattmoose21 is a new contributor. Be nice, and check out our Code of Conduct.












mattmoose21 is a new contributor. Be nice, and check out our Code of Conduct.
















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f1100406%2fsamba-configuration-for-lamp-server%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b