Ubuntu :: USB Drive Mounts But User Can't Write To Drive?
Apr 6, 2010
I've got a bare bones Ubuntu 10.04 set up (xorg, openbox, usbmount). My (vfat32) stick drive mounts, and I can see what is in the one directory on the drive, but I can't write to the drive unless I use sudo. I tried the obvious step of attempting to change permissions on the drive..
I have a computer with no floppy drive (x64 ubuntu lucid installed) I have a program (wine windows xp) that will only save data and export data from/to a floppy drive. I found information on setting up an emulated floppy drive. i.e.
I modified the winecfg to include under the drive section A: /media/floppy. Problem is I cannot write to the drive as a normal user. I have tried everything I know but only root can read write to the drive. Is there someway to set up this emulated floppy to allow me as a user to write and read contents.
Instead of mounting as something normal(like sda1), one of my drives mounts as /media/286CC2A6397A0F2A and(presumable because of this) doesnt show up in Storage Device Manager, so I can't auto mount
Trying to go through some old hard drives I'd saved from a Mac we tossed years ago. Using a Sabrent USB adapter (USB-DSC9) I connected it to the Debian box and it mounts as /media. Here's the weird thing: although I can read all the random stuff, the directory with all my actual documents shows up as "you do not have the permissions necessary to view the contents". When I try to fix this with chmod, it tells me that the drive is read-only. Grr.
How do I mount the drive so that it's not read-only?
In trying to get rid of GPT I somehow hosed my flash drive - now when plugged in and I run df - I see tempfs /dev/shm - is there anyway I can somehow repartition, reformat my flash drive ?
I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.
I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.
One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.
The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.
I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.
I am making backups and I need to make a cron job that mounts a 2nd local hard drive.
It is not listed in my fstab file and I mount it manually in nautilus (having to type a password). It is designated as /dev/sdb1 and /media/repo when it is mounted. Can I get cron to mount it and then add the password or do I have to add it to fstab?
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 do 10.4. as recently as two weeks ago, i could use my mp3 player as a usb drive. now the player is still auto mounted, but i can't copy/paste to it or cut files from it. i do see it in rhythmbox, but when i right click and choose "eject", the drive unmounts and the mount process starts over. when i check permissions, i see that i am "read only".
i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions
I use davfs2 to mount a Webdav drive at startup. It mounts correctly and I have read access to all files my account gives me access to. One big problem though: I can't create of modify any file. I know it is not a user account problem because everything works well when I mount the drive in Windows 7 using WebDrive.
Here's the entry in /etc/fstab to automatically mount the drive:
The Webdav is hosted on a local SAP Portal server (if anyone is familiar with this).
I also tried to use Cadaver. It connects and reads perfectly. But when I try to create a file, I get a "409 Conflict" error, even the file has never existed on the server before.
When I installed Ubuntu, I was asked to enter a user name and password. I chose one that would be a sort of "administrator alias" and gave it a strong password. This is my "su" name and password. That works fine for most things, such as installing software, etc.. Every so often, however, something comes up that can only be accessed by "root" and that is not me, even logged in with my "administrator alias" and password. This happened when I inserted a USB flash drive and tried to copy some files to it that I wished to transfer from my desktop my laptop. The only way I could do this was to format the flash drive. and then add my files to it.
This morning I inserted the flash drive and tried to add another file to it, using "copy" and "paste". Again I got "permission denied" and the owner of the flash drive, seen as "usb0", was again "root", and I could not change its permissions, because I am not "root". It also says the device is not listed in etc/fstab. I have read the Ubuntu paper on mounting USB drives, but I'm not sure that applies here. The drive seems to be mounted, but with the wrong owner.
This problem has also occurred with some software when I tried installing it. I usually give up and don't install it. This flash drive problem, however, is driving me crazy. I need to transfer those files. Is there something I'm missing? Despite installing and upgrading Ubuntu on 2 machines, I'm still pretty much a newbie, and if it involves using the terminal, I need step-by-step instructions,
i want to make pen drive as write protected for ubuntu and windows.....how to do that??? and if i want to write on it then how to make remove write protection..
Having trouble with mounting drives, I have a usb pen drive that mounts no trouble now I've installed ntfs-3g and modified the fstab. however i can't write to it. I get the error as shown in the attached screen shot.
I have have Centos 5.3 which does not save files to USB drives. after copying over file to an empty drive the files are shown on the drive and can be opened and edited but when the drive is removed and reinserted the drive is empty again even though I have told the it to remove the device. I suspect that the file cache is not being flushed correctly. Is there a way of checking this and forcing it to flush the file cache if this is the problem?
I have a flash drive that is write protected and in RAW format(so not formatted). I've tried everything I can find to make it usable again in Windows but I ran out of options. I quickly found about the Gnome Partition Editor, but when I try to start it, it gets an icon in the taskbar that says "Starting GParted" and then it closes. Is some other way I can format my flash drive or do I need to find out why gparted isn't running?
I am not the best with Linux but at the same time like to think I am not the worst, Anyways like stated above my dvd drive is saying its read only and i would like to make it read/write here is some info:
*-disk description: ATA Disk product: ST3500418AS vendor: Seagate physical id: 0.0.0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: CC46 serial: 9VMRTLT1 size: 465GiB (500GB) Capabilities: partitioned partitioned:dos Configuration: ansiversion=5 signature=0005ce96
If I have Ubuntu installed on a USB drive and run it on a PC (not installing to the PC...just running the Live version), is anything at all written to the host PC's hard drive? I don't want the host PC's hard drive to be written to at all for security purposes. I'd be using Firefox, LibreOffice, and other apps that come with the Live USB version.
I have an external hard drive connected via usb cable - /media/New Volume - and mounted in Ubuntu 10.04. How can I "write zeros" to this drive or maybe write random characters in an effort to wipe data on this disk?
I'm only somewhat new to linux but I still don't have a real grasp of it's deep innards and I had a fairly outlandish idea that I'm wondering whether is possible/plausible or not.I want to run a game server on CentOS that has a very high dependency on fast writes-to-disk. Disk writes are pretty much the single bottleneck in this server.First I looked at allowing a high queue of writes to pile up before it flushes them to the disk, but I read that this causes fsync, which is still used commonly, to take a very long time.
I've been thinking about the possibility of running the server on a RAM disk, but I still want changes to be saved to non-volatile storage. Not all at once, but have it actively write the changes to disk. The hope is that this would smooth out the peaks and valleys of write activity and improve overall performance, but I have not seen this idea discussed anywhere.
So my question is, is there any plausible way to continuously copy writes to a RAM disk to a physical drive without slowing down the speed of the writes to the RAM drive below the speed of said RAM? Or is there a better way to obtain this sort of performance, short of investing in expensive equipment?
I am having a problem writing to an NTFS pendrive. I have created the NTFS pen drive in the following way:
Code: fdisk /dev/sda created the label with 'o', then written the table with 'w'
I've then gone into fdisk again : Code: fdisk /dev/sda started the partition creation with 'n', and chosen 1 partition '1', then written that with 'w'
I then used mkntfs to format: Code: mkntfs /dev/sda1 The blkid command gives me this output: /dev/sda1: UUID="58CEA9511D6BCEFA" TYPE="ntfs"
I can mount the pendrive (as root) with: Code: mount -t ntfs /dev/sda1 /mnt/pendrive and the mount command output: /dev/sda1 on /mnt/pendrive type ntfs (rw)
I have changed the permissions on /mnt/pendrive (while mounted) to 777, owner/group=root. However, when I try to copy something to the drive I get this error: cp: cannot create regular file `/mnt/pendrive/file.txt': Permission denied
I installed AlienBob's KDE 4.6.2 a few days ago to give it a shot.
I'm really satisfied with it and wish to keep it, but there's one thing bugging me : I can't write to my NTFS USB drives.
To be precise, I can write as much as I want to existing files, but I can't add nor delete files nor directories.
Worse, root isn't allowed either, even in runlevel 1 when mounted by hand (mount -t ntfs /dev/sde1 /mnt/foo).
Did I miss something to configure among the dependencies of KDE 4.6 ?
Output of /var/log/messages
Code: May 11 08:37:52 rafale kernel: [46953.570204] usb 1-6: new high speed USB device using ehci_hcd and address 6 May 11 08:37:53 rafale kernel: [46954.274818] usb 1-6: New USB device found, idVendor=1058, idProduct=0730 May 11 08:37:53 rafale kernel: [46954.274821] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
I'm trying to back up my hard drive to a 2 TB WD external so that I can do a clean install of 10.10, however I'm getting tremendously slow write speeds. It hovers around 1.5 MB/s and steadily slows from there. It tells me it will take 150+ hours to transfer 400 GB of data.
I have a AMD quad core processor and 8 gigs of ddr3 ram... USB 2.0... I feel this should go much faster.
I currently discovered a problem when using the floppy drive /dev/fd0: I can't use it. I can mount /dev/fd0 as normal, can create/write a file, but it is not written to the floppy disk. Instead of that the current program (eg vim) hangs (or is "uninterruptable") until I remove the floppy disk from the drive. Because of the removal I get several errors in /var/log/messages. What I'm doing:
== snip == mount /dev/fd0 /mnt echo "TEST" > /mnt/test sync [--> HANG until I remove the floppy disk] [sync "completes"/terminates, insert floppy disk] umount /mnt == snap ==
(In this example I used echo instead of vim, because it behaves the same in this situation) The errors I get are as follows:
When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.
Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?
Is it possible to write/edit files on HFS+ drive from Linux? Yes I need to disable journaling but how can I disable journaling from Linux? I dont have access to mac.
I'm trying to backup netbook files to an external optical drive. I can read discs but not write. A while back I tried using K3b but it did not see the external drive. Now it does, but tells me write access is needed and quits. I am in the cdrom group.
Does memtet86 write any data to the hard drive? or leave any data in memory once the test is complete. If so does turning of the machine or reboot clears the memory?
I am running Fedora 14 with the Gnome desktop and I have a 1 TB external hard drive that is msdos with approximately 200 gbs of data on it. I can unlock it and even read and copy files to my internal hard drive but I cannot add files to it, I use to be able to. I didn;t think i changed permissions.
After installing the "fuse" and "fuse-ntfs-3g" packages, my ntfs formatted thumb drive mounts read only, as follows:# mount.../dev/sdb1 on /media/disk type fuseblk (rw,noexec,nosuid,nodev,allow_other,default_permissions,blksize=4096)