LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-11-2015, 09:52 PM   #1
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Rep: Reputation: 85
Why can't I copy and paste in ext3?


I was using a usb flash drive (formatted NTFS) to back up Back in Time and it took 5-6 minutes to write when I unmount the flash drive, which makes no sense as the changes I'm making for Back in Time are minuscule (Like changing a few lines on an .odt doc.) and Back in Time is supposed to write only incremental changes.

So I figured the NTFS was the problem and reformatted the drive to ext3, figuring it to be more Linux friendly but now I can't copy and paste anything in it.

Anybody know what gives? Thanks.
 
Old 12-11-2015, 09:58 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora
Posts: 1,687

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Quote:
Originally Posted by Gregg Bell View Post
I was using a usb flash drive (formatted NTFS) to back up Back in Time and it took 5-6 minutes to write when I unmount the flash drive, which makes no sense as the changes I'm making for Back in Time are minuscule (Like changing a few lines on an .odt doc.) and Back in Time is supposed to write only incremental changes.

So I figured the NTFS was the problem and reformatted the drive to ext3, figuring it to be more Linux friendly but now I can't copy and paste anything in it.

Anybody know what gives? Thanks.
I might if you provided a bit more information. Such as:
  • what distro and what kind of GUI, if you know
  • what precisely you are doing - copy what file, paste it where, how do you copy and paste
  • what error message if any
  • have you tried the command line
 
1 members found this post helpful.
Old 12-12-2015, 12:43 AM   #3
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 14.1
Posts: 82

Rep: Reputation: 48
Quote:
Originally Posted by Gregg Bell View Post
I was using a usb flash drive (formatted NTFS) to back up Back in Time and it took 5-6 minutes to write when I unmount the flash drive, which makes no sense as the changes I'm making for Back in Time are minuscule (Like changing a few lines on an .odt doc.) and Back in Time is supposed to write only incremental changes.

So I figured the NTFS was the problem and reformatted the drive to ext3, figuring it to be more Linux friendly but now I can't copy and paste anything in it.

Anybody know what gives? Thanks.
Do you have permission to write to the flash drive? Have you tried writing to the flash drive as root?
 
1 members found this post helpful.
Old 12-12-2015, 03:47 AM   #4
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
sounds like a permission issue; how did you format the drive, how are you mounting it?
 
1 members found this post helpful.
Old 12-12-2015, 05:32 PM   #5
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by berndbausch View Post
I might if you provided a bit more information. Such as:
  • what distro and what kind of GUI, if you know
  • what precisely you are doing - copy what file, paste it where, how do you copy and paste
  • what error message if any
  • have you tried the command line
thanks berndbausch.

-Xubuntu and I think it's xfce
-I wanted to paste a installation file for Bodhi and I either right clicked or used the File button and selected 'copy' or 'paste' (Pretty standard stuff--I didn't do anything unusual)
-no error message, the 'paste' indicator wasn't activated was all
-did not try the command line (am pretty not knowledgeable about using it)
 
Old 12-12-2015, 05:34 PM   #6
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by fido_dogstoyevsky View Post
Do you have permission to write to the flash drive? Have you tried writing to the flash drive as root?
Yeah, in fact, after the ext3 failed I formatted it to NTFS again and it worked fine. Did not try the root route. P.S. Love your name.
 
Old 12-12-2015, 05:35 PM   #7
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by ondoho View Post
sounds like a permission issue; how did you format the drive, how are you mounting it?
Formatted it in Gparted. It mounts automatically when connected.
 
Old 12-13-2015, 01:11 PM   #8
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
well, now that you undid the problem, we cannot troubleshoot it anymore?
in hindsight, i think that gparted formated the stick to ext3, owned by root.
a simple "chown" on the whole partition should fix that though, permanently.

fwiw, i format all my usb sticks to fat32.
 
1 members found this post helpful.
Old 12-13-2015, 01:24 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,030

Rep: Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623
I tend to format USB sticks as ext4 as I don't trust FAT and, on the larger ones, want to be able to store files larger than 3.2GB.
The downside, however, is that by default they are mounted read only in XFCE (and, I seem to recall, other DEs) so I have to manually use chmod or chown on the mount point then, sometimes, eject and remount the device, a few times in order to be able to write to them.
Come to mention it though I seem to recall even FAT32 drives being mounted as read only by default at least some of the time. I know my portable media player was until I changed it.
 
1 members found this post helpful.
Old 12-13-2015, 02:34 PM   #10
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by ondoho View Post
well, now that you undid the problem, we cannot troubleshoot it anymore?
in hindsight, i think that gparted formated the stick to ext3, owned by root.
a simple "chown" on the whole partition should fix that though, permanently.

fwiw, i format all my usb sticks to fat32.
Thanks ondoho. I formatted all my usb sticks to fat32 too but then Back in Time didn't work with it anymore.

How do I do the simple chown on the whole partition?
 
Old 12-13-2015, 02:37 PM   #11
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by 273 View Post
I tend to format USB sticks as ext4 as I don't trust FAT and, on the larger ones, want to be able to store files larger than 3.2GB.
The downside, however, is that by default they are mounted read only in XFCE (and, I seem to recall, other DEs) so I have to manually use chmod or chown on the mount point then, sometimes, eject and remount the device, a few times in order to be able to write to them.
Come to mention it though I seem to recall even FAT32 drives being mounted as read only by default at least some of the time. I know my portable media player was until I changed it.
Thanks 273. When I Googled around I found others having the same sort of issues (with the read-only etc.). Seems quite the hassle, esp. for a non-techie. And I never had a problem when the flash drive was FAT32. I don't know. Everybody here says the exts are so great but I'm leaning toward NTFS myself. I like the flexibilty of it working with Linux and Windows and it seems more Linux friendly than FAT32.
 
Old 12-13-2015, 02:42 PM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,030

Rep: Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623Reputation: 1623
Quote:
Originally Posted by Gregg Bell View Post
Thanks 273. When I Googled around I found others having the same sort of issues (with the read-only etc.). Seems quite the hassle, esp. for a non-techie. And I never had a problem when the flash drive was FAT32. I don't know. Everybody here says the exts are so great but I'm leaning toward NTFS myself. I like the flexibilty of it working with Linux and Windows and it seems more Linux friendly than FAT32.
It depends on what you want to do, I think. FAT32 has been used for years and works with both Linux and Windows and despite my snarky comments it's not that problematic in day-to-day use in my experience -- as long as you never want files larger than 3.2GB. NTFS is probably OK with Linux but it being closed-source I worry that the Linux version won't meet the specification quite right.
Just "chmod -R a+w" on the mount point or, better still, update fstab and use use etx4. Unless, of course, you need Windows support then it's FAT32 or NTFS only, really (yes, various ext drivers work for Windows but I've not heared of one working without some minor issues at least).
 
1 members found this post helpful.
Old 12-13-2015, 04:03 PM   #13
ondoho
Senior Member
 
Registered: Dec 2013
Posts: 4,176

Rep: Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837Reputation: 837
Quote:
Originally Posted by Gregg Bell View Post
How do I do the simple chown on the whole partition?
in retrospect (after 273's subsequent post) i'm not so sure that that would help, but i think there's no harm in trying.
- find out what the path to the mountpoint is, e.g. with "mount".
supposing your username is gregg and you're in the users group (a simple 'ls -al $HOME' will tell you):
Code:
sudo chown -R gregg:users /path/to/usbstick
 
1 members found this post helpful.
Old 12-13-2015, 04:09 PM   #14
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by 273 View Post
It depends on what you want to do, I think. FAT32 has been used for years and works with both Linux and Windows and despite my snarky comments it's not that problematic in day-to-day use in my experience -- as long as you never want files larger than 3.2GB. NTFS is probably OK with Linux but it being closed-source I worry that the Linux version won't meet the specification quite right.
Just "chmod -R a+w" on the mount point or, better still, update fstab and use use etx4. Unless, of course, you need Windows support then it's FAT32 or NTFS only, really (yes, various ext drivers work for Windows but I've not heared of one working without some minor issues at least).
Thanks 273. You know, it's just a flash drive. I need nonFAT32 for Back in Time so I'll stick with NTFS (even though it's so slow), and I'll use FAT32 for everything else.
 
Old 12-13-2015, 04:11 PM   #15
Gregg Bell
Senior Member
 
Registered: Mar 2014
Location: Illinois
Distribution: Xubuntu
Posts: 1,475

Original Poster
Rep: Reputation: 85
Quote:
Originally Posted by ondoho View Post
in retrospect (after 273's subsequent post) i'm not so sure that that would help, but i think there's no harm in trying.
- find out what the path to the mountpoint is, e.g. with "mount".
supposing your username is gregg and you're in the users group (a simple 'ls -al $HOME' will tell you):
Code:
sudo chown -R gregg:users /path/to/usbstick
Thanks ondoho. I've been over-complicating this thing. I'm just going to stick with FAT32 for now. (Maybe some day I'll experiment with the exts again.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is with copy and paste? General General 16 12-23-2005 07:37 PM
Copy Paste zaicheke Linux - Software 8 04-09-2005 05:45 AM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 10:25 AM
Copy/Paste jcb_dreamvsat Linux - Software 12 06-18-2003 03:23 AM
Copy and Paste? cli_man Linux - General 11 05-16-2003 05:09 PM


All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration