Ubuntu :: Sharing External NTFS Drive Across Multiple Users?
May 26, 2010
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 would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and I would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.
I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail. I am running SLES 10.3. So in summary, can I & how do I either make HAL mount the drive with gid=nnn, or should I not use HAL and simply make an entry in /etc/fstab and make sure a I get the same device address for this USB drive each time I boot?
I am having issues with sharing an external hard drive with other users on a computer. For example if I reboot and login with user A and then logout and login with user B, I am not able to mount the external hard drive. If I reboot and login with user B first, I can then access the external hard drive with user B but not user A. Is there a way that both users can use the drive without having to reboot every time?
I am assuming this is some sort of security issue. If I login with the second user and go to /mnt/external harddrive I get a permission error."You do not have the permissions necessary to view the contents of "External Drive"." If I login with the first user and try to set the permission it doesn't give me the ability?
I finally have my ubuntu up and running. I have a USB-drive which is often connected to my Ubuntu-machine. I want to share this via Samba but I can't set the user-rights. If I try to acces the file (via windows machine) I can see the directory but if I open it it gives me: \Computermediadirectory is not accessible. You might not have permission to use this network resource. I tried setting the rights but it just 'changes back immediately'. I found some posts about not being able to set rights via ubuntu on a ntfs disk. If I mount it via fstab it will give an error when the USB-drive is not connected. So that's no option. Is there a way to share this drive via my Samba server? I did get access to a partition on my linux-machine, to I assume my samba-settings are correct.
I've got a SATA drive (formatted as NTFS) I share between an XP machine and an Ubuntu machine. From Ubuntu, I never write to the drive... I only write to it from the XP box. So, I am wondering about a couple of things:
- If I do write to it from the Ubuntu machine, will that create any problems. By that I mean, if I add, rename, edit files from the Ubuntu machine, will that negatively affect anything?
- If, from the Ubuntu machine, I set perms on the files and folders on the drive, how will that affect things when I plug it back into the XP machine?
i have installed Salix 13.1 LXDE version (Salix 13.1 is compatible with Slackware 13.1). I must use various external hard disks formatted with NTFS. The hard disks are automatically recognized and mounted with PCmanFM file manager, but only user root can write on them. How can I allow normal users to write on automounted external ntfs drives?
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 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 a Seagate FreeAgent XTreme 500gb external hard drive that I'd like to partition and install another OS on. It is currently NTFS formatted, and has around 80 gb of data that I don't want to wipe. In GParted, there's a next to the partition name, and when I select "Resize/Move partition", the dialog box pops up but doesn't let me make any changes. When I view "Information" on the volume, I see the errors shown in the attached screen cap. When I select "Check", it starts to check the disk and shows an error, but before I can see what it is, the computer becomes unuseably slow and I have to reboot. In Disk Utility, it says the drive is healthy, and passes all tests.
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.
Still it says the owner is root and also the group is root. What else do I need to do to make me owner of this partition? The fileproperties say: drwxrwxrwx Still the partition is read only for me. In ntfs-config it says: "Enable write support for external drive"
I'm using an external hard drive formatted to NTFS to keep my projects on. I edit projects from both Ubuntu and Windows XP.
After editing some files in a couple of folders on the drive I have now noticed that any Ubuntu machine I plug the drive into can see the entire contents of the drive, but now, I have 4 folders that do not appear in Windows XP. I have plugged the drive backwards and forwards between three machines now (one of them dual boot) and Ubuntu definitely finds the folders and Windows definitely doesn't. This has only happened one Ubuntu has edited files, though some of the files and folders that have been edited are still visible in XP.
I presume something went wrong whilst writing file tables or whatever they are called these days. Does anybody know how I can get the folders visible in XP again? Do I need to run something in Ubuntu or in XP to 'rescan' the drive?
I have been trying to use fstab, writing a script in /etc/init.d to mount my external ntfs usb drive. I have had absolutely no luck and I have tried just about every solution I could find on the web except for writing a udev rule which I have never done so I am not exactly sure how.
My solution for the interim is to put the mount command in the rc.local file. That works, but I don't understand why I can use fstab to mount it. Putting it in the fstab gives me errors like "unknown file system" or just "An error occurred during mounting of drive" and then the booting stops. I tried using both ntfs and ntfs-3g.
I've been searching for a way to do this with no luck. I've got a 1TB external hard drive I used to share over the network from my Windows desktop -- which is now a Ubuntu desktop.I've tried setting it up as a samba share, and the closest I've gotten is mount error(12): Cannot allocate memory. I've tried the suggestions (editing /etc/security/limits.conf), and that removed the warning I got from testparms but didn't fix the mounting on my mythtv box.
I've installed libfuse2 and ntfs-3g. Now when I reboot, the drive shows up in fdisk. In Gnome File system, the folder shows up in /media as /media/Storage. I didn't issue the mount command, it went there automatically. In terminal, I can access Storage and read/write to files on it. BUT, if I double-click the folder in Gnome, I get a brief glimpse of all the folders in Storage, then they disappear and the drive unmounts. The desktop icon goes away, and I can't see it when I issue sudo fdisk -l. I can get it back with a reboot. I've tried an entry in /etc/fstab, but that makes no difference. I didn't find anything specific to address this on this forum or after Googling.
I have WD external 1TB USB 3.0 drive that I want to attach to a RHEL 5 computer. I don't want to format it to a FAT32 as I'm copyong over about 530GB of data. What is the easy to get the RHEL OS to recognize this drive? NTFS is not loaded on this system as I already checked.
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:
Code: [norfen@norfens-station ~]$ getsebool -a | grep samba samba_create_home_dirs --> on samba_domain_controller --> on samba_enable_home_dirs --> off code....
is there a way of sharing an ext3/ext4 formatted partition on an external USB drive between different users (uids) on different Linux machines without creating a group for this purpose, setting the group ownership of the partition to this group and adding each respective user to the group on every machine?This would mean that I need to have root privileges on every machine... which I may not have in some cases.I'm using the partition to store the code I'm developing on Linux and I would like the option to be safe... if possible.I could use a vfat partition but then I have no control of the rw rights + I cannot develop directly in the dir: I would always have to tar.gz the directory, extract, work, tar.gz, copy to the external drive.
Just got a WD Elements 2TB External Hard Drive for my home computer (Ubuntu Lucid)in which I will load all the media files (pics, music, video), it mounted automatically to my user, no problem, but I have two questions:1.) I can see that it has some stuff on root level, an autorun folder, a System Volume Information folder, and an autorun.inf file. Do I leave them there? Or do I delete them?2.) The marriage saver question. My wife cannot access the drive, even though it does appear as a folder with an "x mark" inside her media folder of the filesystem, but she gets something like she does not have sufficient user privileges or something like that.So how do I make it so that she can also access the drive, or certain folders of the drive, which would be an even better option as the backup stuff would be inaccessible to her
I have an Ubuntu 10.04 box that accesses NTFS drives along with ext4. Recently, I switched from ntfs-3g to Paragon NTFS driver, which is proprietary, but free of charge. It feels quite faster on my internal drives. Now I have a problem with external eSATA NTFS drive. When it is detected, I mount it via Nautilus GUI, but it gets mounted with the ntfs-3g driver. (It can be mounted via command line with the Paragon driver, but this is less convenient. How can I configure my system (is it Gnome or some system-wide configuration ?) to mount all NTFS drives with the Paragon driver?
Another weird thing about it is that if I try to copy a folder into it Dolphin gives me "can't create directory" error and then hangs. If I restart Dolpin I see that the folder has been created just fine and I can copy anything into this new folder without any problems, including creating any sub-folders.
That weirdness doesn't exist if I run Dolphin as a superuser.
I would create a separate thread for this issue if there's no connection.
For now I believe something screwed up the part where Windows reads what file system it is.
Is there a way to "unscrew" it and make sure that NTFS looks ok to Windows, too?
Backing up 750 GB drive and reformatting it is not an option in the near future and I occasionally need to take the drive and plug it into friends' Windows.
I'm having problems mounting my NTFS external hard drive .
1.padlock: VIA PadLock Hash Engine not detected. 2.PPP MPPE Compression module registered 3.PPP BSD Compression module registered 4.PPP Deflate Compression module registered 5.npviewer.bin: segfault at ff99cd48 ip ff99cd48 sp bfc8afac error 4 6.usb 4-2: new high speed USB device using ehci_hcd and address 5
my external HDD of 750GB bring me an error during mounting!it asks me to get to windows and reboot twice or cmd chkdsk/f of which when i do it only option comes is to format it, i do not wanna format it coz it's with a lot of ma useful data!am using debian just asking if its possible to retrieve ma data from it using commands persay and what are those
share an external USB NTFS drive on my home network. The drive is attached to my desktop box running Debian Lenny. It's accessible on the desktop. I have a directory on the drive that I would like to make accessible to a Windows XP laptop. Read-only would be fine. The laptop has wireless access to the network.
As I regularly move between Mac and PC, I thought it would be a good idea to put all my data on an external drive. As Windows 7 and OS X have similar home folder layouts, I just simply put all the folders I need for both on the root of the external drive and changed a few settings so that the Home folder for my user is on the external drive on both Windows and OS X.
Whilst Ubuntu also has a similar structure, I cannot work out how to have it so that my users home folder is on the external drive. I have done a little research and all I can find is how to have the /home directory on another partition. a) this is not what I'm trying to do, just the folder for my user and b) this would mean formatting the external drive to extX format, which just wouldn't work for me.
I am using 9.10 (or will be once the upgrade is complete)
When I plug in my external USB Hard drive which is formatted as a single NTFS partition, it is recognized and mounted automatically, a nautilus window pops open. Unfortunately it is not writable. The reason is: the partition is mounted "ntfs" (which lacks write support) instead of "ntfs-3g". This is the output of mount after plugging in the drive:
$ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type ntfs (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,dmask=0077)
I want this partition to be writable by just plugging it in.
The partition should not have any errors because a) I fsck'ed it windows and b) mounting it manually works:
$ sudo mount -t ntfs-3g /dev/sdc1 /media/disk_/ $ mount | grep sdc1 /dev/sdc1 on /media/disk_ type fuseblk (rw,allow_other,blksize=4096) $ devkit-disks --mount-fstype ntfs-3g --mount /dev/sdc1 Mounted /org/freedesktop/DeviceKit/Disks/devices/sdc1 at /media/4EBC5FB82435B0EE $ mount | grep sdc1 /dev/sdc1 on /media/4EBC5FB82435B0EE type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096) $ gnome-mount -nbtd /dev/sdc1 $ mount | grep sdc1 /dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How can I get ntfs drives to be mounted as writable by default, preferrably without having to modify fstab?