How do I create a shared folder/partition for Windows to access over the network?












0














I am new to Linux. I've built a second computer to start using Ubuntu and hoping to eventually transition into Ubuntu being my primary OS. What I want to right now is have a shared folder that I can use to store data, mainly backup files from my Windows machine like pictures and music, but also be able to access them with Ubuntu.



I have read extensively that Windows doesn't support Ubuntu's partitions, and that Linux has some issues with NTFS. So I know I did this wrong, but don't know how to do it right.



When installing Ubuntu on my 320GB HD, I created a 70GB partition for root, a 70GB partition for home (both ext4 if I remember right), a 10GB partition for swap, and a 160GB partition as fat32 (didn't know what to do for the mount point so chose /windows).



Now Ubuntu can find everything, and create folders in that 160GB Windows partition/folder. However I can't share any folders out on that partition, and since its not an ext partition for Ubuntu I can't change ownership or permissions to that partition.



So I guess my question is how would I set up that last partition so that I can share out the folder for Windows to access it as well?










share|improve this question




















  • 3




    You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
    – Panther
    Sep 25 '15 at 21:31










  • OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
    – Matty
    Oct 1 '15 at 1:50










  • Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
    – Panther
    Oct 1 '15 at 13:49
















0














I am new to Linux. I've built a second computer to start using Ubuntu and hoping to eventually transition into Ubuntu being my primary OS. What I want to right now is have a shared folder that I can use to store data, mainly backup files from my Windows machine like pictures and music, but also be able to access them with Ubuntu.



I have read extensively that Windows doesn't support Ubuntu's partitions, and that Linux has some issues with NTFS. So I know I did this wrong, but don't know how to do it right.



When installing Ubuntu on my 320GB HD, I created a 70GB partition for root, a 70GB partition for home (both ext4 if I remember right), a 10GB partition for swap, and a 160GB partition as fat32 (didn't know what to do for the mount point so chose /windows).



Now Ubuntu can find everything, and create folders in that 160GB Windows partition/folder. However I can't share any folders out on that partition, and since its not an ext partition for Ubuntu I can't change ownership or permissions to that partition.



So I guess my question is how would I set up that last partition so that I can share out the folder for Windows to access it as well?










share|improve this question




















  • 3




    You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
    – Panther
    Sep 25 '15 at 21:31










  • OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
    – Matty
    Oct 1 '15 at 1:50










  • Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
    – Panther
    Oct 1 '15 at 13:49














0












0








0







I am new to Linux. I've built a second computer to start using Ubuntu and hoping to eventually transition into Ubuntu being my primary OS. What I want to right now is have a shared folder that I can use to store data, mainly backup files from my Windows machine like pictures and music, but also be able to access them with Ubuntu.



I have read extensively that Windows doesn't support Ubuntu's partitions, and that Linux has some issues with NTFS. So I know I did this wrong, but don't know how to do it right.



When installing Ubuntu on my 320GB HD, I created a 70GB partition for root, a 70GB partition for home (both ext4 if I remember right), a 10GB partition for swap, and a 160GB partition as fat32 (didn't know what to do for the mount point so chose /windows).



Now Ubuntu can find everything, and create folders in that 160GB Windows partition/folder. However I can't share any folders out on that partition, and since its not an ext partition for Ubuntu I can't change ownership or permissions to that partition.



So I guess my question is how would I set up that last partition so that I can share out the folder for Windows to access it as well?










share|improve this question















I am new to Linux. I've built a second computer to start using Ubuntu and hoping to eventually transition into Ubuntu being my primary OS. What I want to right now is have a shared folder that I can use to store data, mainly backup files from my Windows machine like pictures and music, but also be able to access them with Ubuntu.



I have read extensively that Windows doesn't support Ubuntu's partitions, and that Linux has some issues with NTFS. So I know I did this wrong, but don't know how to do it right.



When installing Ubuntu on my 320GB HD, I created a 70GB partition for root, a 70GB partition for home (both ext4 if I remember right), a 10GB partition for swap, and a 160GB partition as fat32 (didn't know what to do for the mount point so chose /windows).



Now Ubuntu can find everything, and create folders in that 160GB Windows partition/folder. However I can't share any folders out on that partition, and since its not an ext partition for Ubuntu I can't change ownership or permissions to that partition.



So I guess my question is how would I set up that last partition so that I can share out the folder for Windows to access it as well?







partitioning permissions mount file-sharing






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 20 '18 at 11:22









Zanna

50.2k13132241




50.2k13132241










asked Sep 25 '15 at 21:13









Matty

11




11








  • 3




    You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
    – Panther
    Sep 25 '15 at 21:31










  • OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
    – Matty
    Oct 1 '15 at 1:50










  • Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
    – Panther
    Oct 1 '15 at 13:49














  • 3




    You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
    – Panther
    Sep 25 '15 at 21:31










  • OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
    – Matty
    Oct 1 '15 at 1:50










  • Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
    – Panther
    Oct 1 '15 at 13:49








3




3




You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
– Panther
Sep 25 '15 at 21:31




You are going to be best off using either NTFS or FAT. Neither support linux permissions directly, you set them at the time of mounting. This answer will explain the issues on both windows and ubuntu askubuntu.com/questions/145902/…
– Panther
Sep 25 '15 at 21:31












OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
– Matty
Oct 1 '15 at 1:50




OK, so I at least got using the FAT partition correct. Curious, I don't remember now if I had to choose a mount point or not when I installed Ubuntu and created the FAT partition. If I did it again, created the partition but not mount it, would that then work for me being able to manually mount it an modify the permissions then?
– Matty
Oct 1 '15 at 1:50












Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
– Panther
Oct 1 '15 at 13:49




Matty - you can configure the mount point in /etc/fstab - use options noauto and users. See help.ubuntu.com/community/Fstab and if you have a problem, ask a new question.
– Panther
Oct 1 '15 at 13:49










1 Answer
1






active

oldest

votes


















1














As I understood, you want to share files from the computer running Ubuntu to other computers running Windows over the network.



In this case you do not need to create special partitions for that. That was a bad idea to create a large FAT32 partition.



I suggest installing Ubuntu a normal way with ext4 partitions for / and /home, and a swap partition.



Then you will be able to share some folders using samba. In Ubuntu it is very easy. You can right-click any folder in Nautilus and select share. Samba service will be installed on the first try to share and then just select a share name and permissions.






share|improve this answer





















  • I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
    – Matty
    Oct 1 '15 at 1:45










  • @Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
    – Zanna
    Dec 20 '18 at 11:24











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%2f678466%2fhow-do-i-create-a-shared-folder-partition-for-windows-to-access-over-the-network%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














As I understood, you want to share files from the computer running Ubuntu to other computers running Windows over the network.



In this case you do not need to create special partitions for that. That was a bad idea to create a large FAT32 partition.



I suggest installing Ubuntu a normal way with ext4 partitions for / and /home, and a swap partition.



Then you will be able to share some folders using samba. In Ubuntu it is very easy. You can right-click any folder in Nautilus and select share. Samba service will be installed on the first try to share and then just select a share name and permissions.






share|improve this answer





















  • I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
    – Matty
    Oct 1 '15 at 1:45










  • @Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
    – Zanna
    Dec 20 '18 at 11:24
















1














As I understood, you want to share files from the computer running Ubuntu to other computers running Windows over the network.



In this case you do not need to create special partitions for that. That was a bad idea to create a large FAT32 partition.



I suggest installing Ubuntu a normal way with ext4 partitions for / and /home, and a swap partition.



Then you will be able to share some folders using samba. In Ubuntu it is very easy. You can right-click any folder in Nautilus and select share. Samba service will be installed on the first try to share and then just select a share name and permissions.






share|improve this answer





















  • I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
    – Matty
    Oct 1 '15 at 1:45










  • @Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
    – Zanna
    Dec 20 '18 at 11:24














1












1








1






As I understood, you want to share files from the computer running Ubuntu to other computers running Windows over the network.



In this case you do not need to create special partitions for that. That was a bad idea to create a large FAT32 partition.



I suggest installing Ubuntu a normal way with ext4 partitions for / and /home, and a swap partition.



Then you will be able to share some folders using samba. In Ubuntu it is very easy. You can right-click any folder in Nautilus and select share. Samba service will be installed on the first try to share and then just select a share name and permissions.






share|improve this answer












As I understood, you want to share files from the computer running Ubuntu to other computers running Windows over the network.



In this case you do not need to create special partitions for that. That was a bad idea to create a large FAT32 partition.



I suggest installing Ubuntu a normal way with ext4 partitions for / and /home, and a swap partition.



Then you will be able to share some folders using samba. In Ubuntu it is very easy. You can right-click any folder in Nautilus and select share. Samba service will be installed on the first try to share and then just select a share name and permissions.







share|improve this answer












share|improve this answer



share|improve this answer










answered Sep 26 '15 at 10:02









Pilot6

51.6k15107196




51.6k15107196












  • I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
    – Matty
    Oct 1 '15 at 1:45










  • @Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
    – Zanna
    Dec 20 '18 at 11:24


















  • I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
    – Matty
    Oct 1 '15 at 1:45










  • @Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
    – Zanna
    Dec 20 '18 at 11:24
















I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
– Matty
Oct 1 '15 at 1:45




I was under the impression windows can't write or read from the ext4 formatting that Ubuntu uses, which was why I made the FAT32 partition. Something they could both read and write to.
– Matty
Oct 1 '15 at 1:45












@Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
– Zanna
Dec 20 '18 at 11:24




@Matty Windows is not accessing the data encoded on the drive though is it? Accessing data over a network is a whole different thing from accessing it on a disk. You seem to have confused the two. This answer is correct :)
– Zanna
Dec 20 '18 at 11:24


















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.





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%2f678466%2fhow-do-i-create-a-shared-folder-partition-for-windows-to-access-over-the-network%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á

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕