Ubuntu :: Sharing Files Off A External Hard Drive Over A Network?
Jan 8, 2010
when I try to share files off of my external hard drive over my network; it says it is shared on my ubuntu machine but when I try to access the file on my windows machine it says I do not have permission.
I installed Fedora 15 5 days ago after using debian-based distros for a few years, and until now I've had the habit of sharing many files (mostly multimedia) on my home network, except since I'm the only one using Linux, I have to do it using Samba.In Ubuntu, Xubuntu and Linux Mint, this worked like a charm.
Two things have changed this week: I switched to Fedora 15 like I said before, and I bought a new USB external HDD. I previously used a 500 GB Western Digital, and changed for a 1.5 TB SAMSUNG which is linked to my station via USB. The drive works well and I cp'd the 450 gigs of the ancient drive within the new one without a problem.
Ever since I managed to set up fedora and GNOME 3 as I would like it, I've been trying to setup the network sharing via Samba, and that's a genuine 4-day long headache now.Thing is, yesterday, it worked. After setting everything right, creating an automount of the external HDD in a maybe-too-much permissive folder, allowing Samba through the firewall, getting to know that buddy called SELinux I had never met before and which I struggled to tame ; after setting everything up, it worked seamlessly, I streamed music from the Windows PCs of my network and began watching a film.
Except I had a problem which had nothing to do with Linux: letting the USB drive plugged in on startup prevented the BIOS phase from going well, and my station was stuck on my motherboard splashscreen. To fix this, I had to disable the USB Legacy in my BIOS. Did the trick. Yesterday night, I rebooted like that, and everything was fine.This morning, Fedora wouldn't boot. Since the new BIOS parameters didn't switch the drive on on startup, fstab was trying to mount a drive which wasn't there, and thus crashed, switching to emergency mode.Had to remove the ftsab line concerning the USB drive for Fedora to boot again.
Alrite, that's fixed, I thought ; I just changed the fstab options adding noauto,user, etc. and I thought it would be ok, but it ain't.It's now been 3 hours without me finding any clue as to how to get this working.
IMO, the problem comes from the fact that Samba is missing the right to access the drive. Samba seems to be OK: from the Windows station I can see my Linux station on the network map, I can access it entering the Smbuser I created for this, and the "ext-hdd" dir is present (that's the alias I used in the Samba config files), but when I try to access it, Windows says it can't access it.
I'll try to add as many pieces of information as possible that might be useful:
SELinux config:
Code: [norfen@norfens-station ~]$ getsebool -a | grep samba samba_create_home_dirs --> on samba_domain_controller --> on samba_enable_home_dirs --> off code....
I have a problem with sharing files from external harddrive. If I create a share from my ubuntu home folder, I can access to it from my Windows 7 laptop. I also see shares created from external drive, but windows says I dont have permission to access in there.
I've been working at this for the past 2 days now. My computer got some kind of virus or something that has caused it to loop at startup and continually reset. I run an XP OS on a Gateway. I desperately need to backup my files, because the person who had my backup absently deleted my stuff. I was able to boot up using an Ubuntu disc and I'm in it right now, I've found my files, I have an external hard drive. The problem:First, it wont let me paste into the hard drive. If I drag, it says "Error while copying to "/media/FreeAgent Drive". You do not have permissions to write to this folder." I've mounted the external drive, nothing changes.
I've gone in to properties, is says under permissions that the owner is root, folder access is "Access files" and at the bottom is says "You are not the owner, so you can't change these permissions." The drop downs where I need to change permissions is in gray, so I can;t change it.So next, I tried "gksu nautilus", went to the drive through there, and it let me use the drop down selection under permissions. I tried to change the folder access and I got this message: "The permissions could not be changed. Couldn't change the permissions of "FreeAgent Drive" because it is on a read-only disk." So I tried changing the file access to Read and Write. It didn't give an error, so I thought perhaps it finally worked. I hit apply, and tried to put my files in. Once again I got the message from before that said I didn't have permission. I tried to change the owner so it was no longer root and I got "The owner could not be changed. Couldn't change the owner of "FreeAgent Drive" because it is on a read-only disk."I'm getting so frustrated right now. These files are VERY important to me! The hard drive I have is a Seagate FreeAgent desk 500GB
im trying to copy a file over to my external hard drive and its a 5.8gig file and i keep getting this error saying there was a file copy error and then i click show more details and says Failed to attach the file: File too large
I have an external harddrive of 500GB. It's almost fully loaded with TV series and movies. Nautilus says there's 60 GB remaining space. I just downloaded some movies, and copied it to this external hard drive.And here's the strange part, after I did this I only see a very small subset of all the movies I stored on that harddrive in nautilus. With 500 GB almost full, you can imagine there are quite some movies on it, but I only see 12 of them in nautilus.
I bought a new 2.5 inch SATA laptop hard drive and mounted it in an external enclosure for use as an external backup drive. I had a whale of a time getting it formatted (ref post), but finally did by putting the bare drive into a laptop and used Ubuntu to partition and format as part of installing. Then I remounted the bare drive back into the enclosure and sure enough now I can now see the drive.
So now I want to erase the files from the backup drive. Problem is, Ubuntu won't let me delete or add any files. In Nautlis, if I select the files and "right click", Move to Trash is grayed out. If I press the delete button, nothing happens. If I try to copy a new file to the backup drive it says "permission denied". If I go into the Properties .> Permissions for the drive everything is grayed out so I can't change the permission. It also says "You are not the owner so you cannot change permissions".
I am running dual boot Ubuntu and windows 7 but have decided to ditch windows and go permanently with Ubuntu. How do I save my data files (email addresses etc.) to an external hard drive for downloading back on to my laptop when I have reformated it.
how to transfer large files from my laptop to external hard drive. Problem occurs when I'm sending Blu-ray films (4.4GB) to external, gets to 4GB and then comes up with error. Is there any way of breaking it up and then merging when it reaches the hard drive or is there a way of sending it as one whole file.
I would like to backup up my linux files to an external hard drive from a laptop. What would be the most simple and easiest way to do this? How would I format an external hard drive in linux.
I want to copy a .tgz file from my computer to an external hard drive. However, I get the following message:cp: cannot create regular file `/mnt/usbkey/ws_2008/misc/minipar-0.5-W indows.tgz': ermission deniedI get this error with any file I try to copy to the external disk. rnal disk is recognized, when I mount it, I can see the files and folder I have there, but seems that I cannot copy anything to it.When I try to copy the same files from my computer to a usb flash drive, everything works
I have two USB 2 external hard drives. I want to copy about 30 gigs of data from one to another. What command line command do I use ? I was thinking of using cp with the -R and -n options, but I have no idea what devices to refer to. I can't find any external hard drives in /etc/fstab and I'm not sure what /dev device each USB external hard drive uses. I just want to copy the files and the directories that they are in just as they are. There are no links and I do not want to do a backup.
I have installed luckybackup software on my ubuntu 10.10 notebook edition. But I don't know how to use it to backup files to an external hard drive. The Hard Drive is a 1 TB Seagate. I don't think that the Destination Drop down menu in luckybackup even shows the External HD.
I have two computers with ubuntu 10.04 installed. They both connect to the same wireless router. One computer has an external hard drive that has music, pictures and some documents. another thing, the hard drive has been formatted to ext4. I would like to be able to access that external hard drive from my other computer. I read some post on how to connect to the server through ssh but i think it's the intruction are too old. I tried nfs for server/client, but couldn't set it up, it was a little complicated.
Recently my laptop broke down and wont start up. I'm currently trying to recover my files to my mac with an IDE to USB cable. It recognized my windows partition fine and I was able to get all my files off of that, but the majority of my stuff is on the ext4 partition that I have on it. Does anyone know how to access the ubuntu partition of this hard drive from my mac?
I just lost over 300gb of files due to my external hard drive crashing.There was an error with the files system.I tried formatting on Slackware but cfdisk didn't work for me.I'm looking for something much easier with a GUI or something similar to the Disk Utility that you get in Ubuntu.And also which format do I format my external harddrive to?Something even more stable than ext4 or ntfs? Cause I do not want my external hard drive to crash again.
i am using fedora 11 and i want to share my western digital external hard drive over my wireless network like i previousely did with my windows os. it is connected via usb to my computer. how do i do this ?
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
I was transferring some files from my external USB hard drive onto my laptop (running 64bit Karmic), and my laptop froze up for whatever reason.Everything on the screen stopped and the Scroll Lock and Caps Lock LEDs began flashing.Not knowing anything else to do, I hard booted off with the power switch.At this point, I was concerned if anything on either hard rive would be damagedI booted my laptop back up, and all seemed well until I trued to open my Documents folder.For some reason, Ubuntu will no longer open any folders at allI can't click on ComputerDocuments, Music, etc. When I do, a tab opens in the taskbar that says Opening folder. It stays on screen for about 20 seconds, and then goes away and the folder never opens.The weird part is if I open gEdit and try to load a file, I can see and get to everything.
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
I recently bought 320 GB Trancend external hard disk and working fine days back.Earlier i could copy from and to the hard disk with out any issue. I dont know what happened after that now i am not able to write any files in to the external hard disk. This is not NTFS formatted device. here is some of the out put from terminal.
Code: sundar@sundar-sundar:~$ fdisk -l Disk /dev/sda: 120.0 GB, 120034123776 bytes
I have a little ODROID C1+ ARM box with Debian Jesse installed on a SD card. I am trying to share an entire external USB NTFS drive to all clients (Windows 7, Android) on my network. I had this working until a few days ago when I reflashed an updated distro. Now I can't remember what black magic was involved. iptables is not installed and no firewall is active.I have installed Samba and Caja-share. I have edited the fstab
with the understanding that this would allow permissions to be assigned and saved for NTFS partitions. I then used chmod to assign everything on the drive to nobody:nogroup as I recalled this was necessary from when I last got it to work.SMB.config is currently set as
Code: Select allworkgroup = *edited* [Seagate 4TB] path = "/media/odroid/Seagate 4TB" writable = yes force user = nobody
with no other changes. The folder /media/odroid/Seagate 4TB has been created. I have right-clicked this folder and shared with Caja-share
Code: Select all[x] Share this folder Share name: Seagate 4TB [x] Allow others to create and delete files in this folder [x] Guest access (for people without a user account)
but so far all I get in Windows when I try to access the share is a prompt for credentials, which is what I want to avoid.
I have an external USB hard drive at /dev/sdb1 (NTFS)
2 users: johnny, audio
for some reason this drive is mounted at /media/TREKSTOR_ with johnny as the owner. I can't seem to chown the drive to audio. If I unmount the device, and remount it, the owner is set to johnny again. I need to access this drive from the audio account.It's a 1TB drive, so I wouldn't be able to reformat it to EXT3 easily as it's almost 60% full.
I am a beginner to Ubuntu / linux. I plan to partition my laptop (HP pavilion) for Windows 7 and Linux (Ubuntu). Can I backup both Linux and Windows 7 files to a single external USB hard drive? (Obviously, they will be in separate directories). If yes, how do I do that? If not, what are my alternatives?
I assume Ubuntu will recognize a USB hard drive as an external flash drive, right? I also notice external SATA hard drive docking stations with USB interface are available, and I have not use them before. The devices takes internal SATA hard drive. If you have use them before, let me know how did you format it using Ubuntu or Windows7 while the drive is attached to the station.
I would like to install Linux Ubuntu 11.04 on an external hard drive - its partitioned and ready for Linux.I've downloaded and burnt the .iso file to a DVD so its all good so far...First of all... is this possible without messing up my macbook? I don't particularly want to break into my macbook to disconnect the hard drive (I read on a tutorial for a previous version of Ubuntu that I'd have to do that... - does it still apply to 11.04?) - as it voids the warranty (I checked ).The reason I ask this is because I had a friend who partitioned their internal hard drive and installed Ubuntu on it. But after installation was complete they couldn't boot up Windows 7 or Ubuntu... and it resulted in them having to clean install Windows 7... - I don't want to end up in that situation
Second... If it is possible to install it without messing up my macbook... - Do I just follow the install instructions but just make sure that where possible I make sure that everything is installed on my external hard drive?...I really need someone to put my mind at rest that everything will run smoothly and that I'll be able to run Mac OS X as usual but also that I'll be able to boot from my external hard drive to run Ubuntu.