Upload
zenin-easa
View
21
Download
0
Embed Size (px)
DESCRIPTION
Enable File Sharing & Configure the WorkgroupIn order for Ubuntu and Windows 7 to share files, they have to be configured to be part of the sameWorkgroup. Also, file sharing needs to be enabled in Ubuntu.
Citation preview
ALLCONTENT DOWNLOADS TUTORIALS PLATFORMS REVIEWS BLOG ABOUT BESTOF
ByGeorgeGrigorion02/09/2011
InaprevioustutorialIhaveshownhowtoenablethesharingserviceinUbuntuandchangetheWorkgroupsothatitisthesamewithalltheothercomputersinyournetwork,thusmakingnetworkingbetweenUbuntuandWindows7easier.InthistutorialIwillshowhowtosharefoldersinUbuntuandhowtoaccessthemfromWindows7computers.
NOTE:ArticleupdatedtoworkonUbuntuv10.10&11.04.
EnableFileSharing&ConfiguretheWorkgroupInorderforUbuntuandWindows7tosharefiles,theyhavetobeconfiguredtobepartofthesameWorkgroup.Also,filesharingneedstobeenabledinUbuntu.
TochangeyourWindows7workgroup,see:HowtoChangetheWorkgroupinWindows7&Windows8.ToconfigureUbuntu,see:HowtoEnableFileSharing&ChangetheWorkgroupinUbuntuLinux.
Oncetheseitemsaresetupcorrectly,proceedwiththistutorial.
HowtoShareFoldersinUbuntuFirst,opentheHomeFolderinUbuntu,foundinthePlacesmenu.
HowtoShareFoldersinUbuntu&AccessthemfromWindows7
Browsetothefolderyouwanttoshare.RightclickonittoopenthecontextualmenuandclickonSharingOptions.
TheFolderSharingwindowwillopen.ChecktheboxnexttoSharethisfolder.Then,intheSharenamefield,typethesharenameyouwanttouse.IntheCommentfieldtypeanythingyouwantorjustleaveitemptytheresnoneedtocompleteit.Ifyouwanttoallowotherstocreateanddeletefilesinthefolderyouaresharing,checktheboxnexttoAllowotherstocreateanddeletefilesinthisfolder.Also,ifyouwanttoallowGuestaccess,checktheboxnexttoGuestaccess(forpeoplewithoutauseraccount).Whendone,clickonCreateSharetoactuallysharethefolder.
IfyouhaveselectedtheoptionAllowotherstocreateanddeletefilesinthisfolderapopupshowsup,askingifyouwanttoaddsomepermissionstothefolderyouaresharing.ClickontheAddthepermissionsautomaticallybutton.Now,thefolderissharedwiththerestofthenetwork.
Note:WerecommendthatyouonlysharefoldersfoundorcreatedintheHomeFolderbecausethosearefoldersonwhichyourusernamehasownership.IfyoutrytoshareafolderoutsidetheHomeFolder,youwillreceivethefollowingerrormessage:netusersharereturnederror255:netusershareadd:cannotsharepathaswearerestrictedtoonlysharingdirectoriesweown."Thiserrorappearsbecauseyoudonthaveownershiponthosefolders.InordertoshareanyofthemyouhavetogothroughacomplicatedprocedurethathasthepotentialtoaddsecurityriskstoyourUbuntucomputer.
AccessUbuntuSharedFoldersfromWindows7AfteryousharedafolderinUbuntu,letsseehowtoaccessthatfolderfromaWindows7computer.
OpenWindowsExplorer.ClickonNetworktoviewalistwithallcomputersavailable(turnedonatthattime)inthenetwork.
DoubleclicktheUbuntucomputeryouwanttoaccess.Alistwithallthesharedfoldersanddevicesfromthatcomputeropens.
Doubleclickthefolderthatyouwanttoaccess.IfyouhaventsetupthesharedfoldertoallowGuestaccess,youareaskedtointroduceausernameandpassword.
Inthefirstinputfield,typethenameoftheUbuntucomputerfollowedbyabackslash(\")andthenameoftheuseraccountwithaccesstothesharedfolder.Inthesecondinputfieldtypethepassword.IfyouwantWindowstorememberyourusernameandpassword,checktheboxnexttoRemembermycredentials.Whendone,clickonOK.
Nowthecontentofthesharedfolderisshown.
ConclusionOnanetworkwithWindows7andUbuntucomputers,youcanconfigureUbuntutosharefilesandfolderswhichareeasilyaccessiblefromaWindowsPC.IfyouwanttoknowmoreaboutsettingupotherPCsonalocalnetwork,orhowtofurtherutilizethenetworkingfeaturesbetweenUbuntuLinuxandWindows7,checkoutthearticleslistedbelow.
Discovermore: Tutorials NetworkandInternet Linux
Comments
Relatedarticles:
HowtoEnableFileSharing&ChangetheWorkgroupinUbuntuLinuxHowtoAccessWindows7SharedFoldersfromUbuntuMountWindows7SharedPartitions&FoldersinUbuntuTop7FreeGamesForWindows8.1ThatAreFoundInTheStore
byAnonymouson01/10/201112:23
WhenItrytoshareafolderusingtheprocedureyoudescribed,Igetthefollowingerror:
'netusershare'returnederror255:netusershareadd:cannotconvertname"Everyone"toaSID.Logonfailure.
HowdoIfixthis?
reply
Clickmetogobacktothetopofthepage!
byjonhon03/29/201119:26
greattutorial,onlyproblemiswhenIgettothesectiontitled"AccessUbuntuSharedFoldersfromWindows7"theUbuntucomputersimplydoesnotshowuponthenetworklist.Youmakenomentionofanythingtosetuponthewin7machine,whatdoIhavetodotomakemyUbuntucomputershowuponmynetwork?
reply
byCiprianAdrianRusenon03/29/201121:06
IntheRunwindow(Windows+R),type\\name of ubuntu computerandseeifyoucanaccessit.Ifnot,then...eithertheUbuntucomputerisnotonthesamenetworkorsomethingisblockingitsometimessecuritysolutionsinterferewithyournetworkandcausesuchissues.
reply
byAnonymouson04/25/201111:51
ItriedthesesamestepsbutwheneverItrytoaccessthesharedfolderIcanaccessthelinuxmachinebutnothingisdisplayed(0items),amIdoingsomethingwrong?
Alsowhatistheroleofthe'smb.conf'filewhenwecansharethefoldersfrominsidethelinuxdesktop?ordowehavetoconfigure\smb.conf'filefirst?
Thnxreply
byCiprianAdrianRusenon04/25/201114:46
Youneedtoeditandconfigurethesmb.conffilefirst.Checkoutthistutorialtolearnwhatyouneedtodowithit:HowtoEnableFileSharing&ChangetheWorkgroupinUbuntuLinux.
reply
byAnkuron08/20/201111:02
simpleandusefultutorial.usingitrightnowreply
byasenyon10/21/201116:07
Fantasticilovedit,itreallyhelpedmealotthanx:)reply
byRajeeveon11/08/201109:24
Thathelpedverymuch.Thankyou.reply
byCiprianAdrianRusenon11/08/201113:21
We'regladthistutorialhelped!:D
reply
byburnedagainon12/14/201102:05
Whenyousharefileswiththismethodtherearenoentriescreatedin/etc/samba/smb.confthatIcandetect.......sowhatgives?Isthisnotapartofsamba?Whereisthe.confforthisfileshare?IaskbecauseIhaveamorecomplicatedproblem.
reply
bySilversleevesXon12/26/201120:01
I'vebeentryingtosharepasswordprotectedfoldersonmyUbuntu(DesktopinstalledontopofKubuntu)11.04laptopforalmosttwoweeksnow.Ihavenotbeenabletodoso,asmyWindows7HomePremiuminstalledonadesktopmachinehasinvariablyandrepeatedlygivenmethemessage"Loginfailed:incorrectpassword"wheneverIhavetriedtoopenthefolderseitherofthosesharesrepresentfromWin7.AllowingGuestaccessworksfine,andI'dbesatisfiedwithit,exceptthatunderGuestaccess,anyfilescreated,copiedto,orsavedintheshareinvariablyhavetohavetheirpermissions,ownershipandgroupIDchangedinLinux.Iknowthisisn'tnecessarywhenapasswordprotectedsharehasfilescreated,copiedtoorsavedinit,becausethefile'sumaskissetcorrectlyinsmb.conforsomewhereelse"underthehood"inLinux.
Ihavealsodiscoveredthat,unlessonemountsone'sownsharedfolderinUbuntuLinux,thereisabsolutelynowayofspecifyingthatshare'sumasknottomention,thisworkaroundseemsonlytoapplytofilescreatedinsharesfromloggedincomputersrunningUbuntu,Debianorsomeother'flavor'ofLinux.
Sowhatwehavehereistheproverbial'dogchasingitsowntail.'
ThelastversionofWindowsIranonanyofmycomputerswasWindowsXPProSP3.It'ssadtothinkthatinthelastsixorsevenyears,Microsoft,intryingtomakeupforsecurityflawsandgaffesinthepast(ofthisIhavenodoubt),havecompletelyruinedwhatmostfolksmighthavebeeninclinedatonetimeoranothertocall"theirbaby."Samba,tomanypeopleIknow,issynonymouswith"Windowsfilesharing"they'resurprisedwhenItellthemit'smaintainedbyaseparateorganizationhavinglittleornothingtododirectlywithMicrosoft.Nowitwouldbefoolishforanyonetomaketheconnection,fullstop,betweentheoneandtheother.
Inshort,thereisnowaytoaccesspasswordprotectedfoldersonUbuntumachinesrunningSMB/CIFSfromanyincarnationofWindows7,becausewhatWindows7runsisobviouslynot"straightSamba."
Buttakeheart:mostISPsblockthehighestTCP/UDPports,bynumber,byname139and445,andasthelowertwoorthreewereintendedstrictlyforLANuse,thewholeofhonesttogoodnessSambais,whilenot100%secure,asclosetoitasshouldmakenodifferenceformostusers.
BZTreply
byChristopherWilsonon09/19/201201:12
Justwrotethis,hopeithelps:http://wilson18.com/howto/linuxnetworking/howtosharefoldersinubun...
reply
byChristoon12/26/201214:53
Goodday.
Thisworkswelltoaccessthefiles.Myproblemiswriteprotections.IfIsavethefilefromaWindows7or8PCtotheshared/home/netsharedfolderitgetareadonlylockonit.Iamabletofixthusvia
sudo chown -R -L -H -v {username} *
Buthavingtotodothiseachtimeisannoying,AnddoingthismakesitReadonlytotheWindowsPCandtheotherLinuxPC.Inotherwords,Icanseethefilesbutcan`tsaveoverthemfromanotherPC.
Anyideas.reply
byMelanieRimmeron12/27/201218:15
Thisisveryhelpfulandeasytofollow.Itworkedforme.reply
byAndyBlahnikon12/07/201306:15
Worksgreat!JustremembertorefreshthenetworklistonthewindowsPCtoseethenewUbuntufolders
reply
byFarshidTon04/24/201413:19
Forthosewhocan'tgetpassedtheauthenticationinwindows,configureausernameandpasswordthatwillbeusedtoaccesstheshare:smbpasswdayourusername
ThenrestarttheSMBservice:sudoservicesmbdrestart
Source:http://www.howtogeek.com/176471/howtosharefilesbetweenwindowsandl...reply
byTravisHon01/28/201515:26
Thanks!Thistiphelpedmeoutgreatly!reply
byZlatevon03/05/201509:56
Thankyou!reply
byQuintuson11/07/201409:35
Ihavetriedeverythingabove,BeforesharingafileinUbuntuIcouldseethemachineonthe
Preview
AddnewcommentName*
Email*
Website
CAPTCHAThisquestionisfortestingwhetheryouareahumanvisitorandtopreventautomatedspamsubmissions.
YourAnswer
NotifymewhennewcommentsarepostedAllcommentsRepliestomycomment
networkfromanotherwindoescomputer.Oncethesharingwasmade(IcouldneverticktheAllowotherstocreateanddeletefilesinthisfolder),themachinenolongerappearedinthenetwork...
Youknowwhat,Ubuntureallysucks...ThereisabsolutelyNOTHINGstraightforwardnoruserfriendly.justwantedtohaveasmallprintserverformyoffice,usingalittleoldmachinesoIthoughtthiswouldbeperfect.Wellit'snotandagainI'mdisappointed...
reply
Enterthefollowing:
Entersearchtermshere...
Subscribeto7Tutorials
DailyWeeklyRSS FacebookWindowsGoogleTwitterWindowsLearnmoreaboutoursubscriptionoptions
Recommendedguides
HowToUse&ConfigureTheGlanceScreenOnWindowsPhoneLumias
TechLolz:Windows10IsFreeForEveryIQ
ReviewingASUSZenFone2ZE551MLTheASUSAndroidFlagship
HowToReserveYourFreeUpgradeToWindows10
Popularguides
HowToUpdateTheBIOSOfYourComputer'sMotherboardIn5Steps
HowtoDeleteorForgetWirelessNetworkProfilesinWindows8.1
WhichWindowsServicesAreSafetoDisable&When?
SimpleQuestions:WhatisWPS(WiFiProtectedSetup)?
LearnWindowsWindowsthebasicsReadallWindowsarticles
LearnWindowsPhone
ReadourWindowsPhonearticles
Learnfromourbooks
Exceptwhereotherwisenoted,thissitedistributescontentunderaCreativeCommonsAttributionNoncommercialShareAlike3.0UnportedLicense.Microsoft,WindowsandtheWindowslogoareeither
registeredtrademarksortrademarksofMicrosoftCorporationintheUnitedStatesand/orothercountries.MicrosoftCorporationinnowayendorsesorisaffiliatedwithoursite.Allotherproductsmentionedareregisteredtrademarksand/ortrademarksoftheirrespectivecompanies.Thisblogis
runningontheDrupalCMSthebestContentManagementPlatform.