LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to copy and paste data from NTFS to EXT4 partition ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-copy-and-paste-data-from-ntfs-to-ext4-partition-4175488662/)

tousif 12-20-2013 05:21 AM

How to copy and paste data from NTFS to EXT4 partition ?
 
Hey guy's hope you're doing well,
Yesterday i was moving some files from NTFS to NTFS, there was no problem at all, but when i tried to move them from NTFS to EXT4 i was unable to paste them.

how can i set EXT4 partition to allow me all the time i paste any data?

OS - Debian Wheezy(amd64)
Env - KDE Plazma

yooy 12-20-2013 05:34 AM

first you need write permission,
if you already have write permission try with right click instead ctrl+v or in menu.

tousif 12-20-2013 05:42 AM

Quote:

Originally Posted by yooy (Post 5084449)
first you need write permission,
if you already have write permission try with right click instead ctrl+v or in menu.

I've solved it
Thanks to http://ubuntuforums.org/showthread.php?t=1334840

i simply open up terminal,
switched to root and typed following,

#chmod -R 777 <mount point>

and viola it's now i can paste all data on ext4 drive

jpollard 12-20-2013 07:23 AM

And now, so can anyone. And delete anything.

jamison20000e 12-20-2013 07:32 AM

Hi. Yes, depending on the partition\data and if connected to the net very :newbie: move :D you have a GUI for those settings play with your Applications > Systems tab and Settings (plus in Dolphin) :study::jawa::cool: best wishes and have fun.

haertig 12-20-2013 09:49 AM

Quote:

Originally Posted by tousif (Post 5084453)
I've solved it
...

i simply open up terminal,
switched to root and typed following,

#chmod -R 777 <mount point>

and viola it's now i can paste all data on ext4 drive

Wow. I hope this was an external "user data" drive only used by one user to store basic stuff. If you did this to a system-level mountpoint (like /etc, /usr, etc.) you are in for a world of hurt. I would not even try to repair a system-level filesystem hacked like this. I'd reinstall the OS from scratch, and be less impulsive doing things as root next time.

From the time you first posted until you had "fixed" your issue was only 20 minutes. Next time you come up with a solution like this, I'd advise posting it as a proposal that you are considering in your original question thread, and then WAITING a bit for people to come back and advise you. In this case, you would have surely seen a ton of "No! Don't do that!" replies.

Habitual 12-20-2013 02:55 PM

Quote:

Originally Posted by haertig (Post 5084546)
Wow. I hope this was an external "user data" drive only used by one user to store basic stuff. If you did this to a system-level mountpoint (like /etc, /usr, etc.) you are in for a world of hurt. I would not even try to repair a system-level filesystem hacked like this. I'd reinstall the OS from scratch, and be less impulsive doing things as root next time.

From the time you first posted until you had "fixed" your issue was only 20 minutes. Next time you come up with a solution like this, I'd advise posting it as a proposal that you are considering in your original question thread, and then WAITING a bit for people to come back and advise you. In this case, you would have surely seen a ton of "No! Don't do that!" replies.

Wisdom speaks.
Quote:

Originally Posted by tousif (Post 5084453)
I've solved it
...
Code:

#chmod -R 777 <mount point>

I would disagree with you. After 20 years in IT, it my opinion only, that this is NOT a fix, but a serious lack of of proper troubleshooting that can only be corrected by gaining more experience.
It's like "fixing" Windows by re-installing. It's the cheap and easy way and any monkey can do it.
It's not troubleshooting.

What does the /etc/fstab look like for this mount?
I wonder what the perms will be upon reboot...

Well, now you know.

Have a Great Day!

nd7rmn8 12-20-2013 03:50 PM

Quote:

Originally Posted by haertig (Post 5084546)
Wow. I hope this was an external "user data" drive only used by one user to store basic stuff. If you did this to a system-level mountpoint (like /etc, /usr, etc.) you are in for a world of hurt. I would not even try to repair a system-level filesystem hacked like this. I'd reinstall the OS from scratch, and be less impulsive doing things as root next time.

you mean to tell me you've never gotten fustrated at permissions and typed this?
Code:

sudo chmod -R 777 /
I have... In my defense, I was a newb, and I was about to format the hard drive anyways as soon as I finished doing whatever i needed to do that for... i'm not sure.

In all seriousness though, some more research would have been better. That is equivalent to removing all the doors in that portion of a building instead of giving yourself the key to open the door. I'd suggest some reading on linux file permissions and these commands as well, chgrp, chown, usermod.

John VV 12-20-2013 04:18 PM

To the OP
most current systems auto mount using udev and mount partitions by default as read only


the most common way is to edit /etc/fstab
and have it mount the drive as read / wright for NON root users


All times are GMT -5. The time now is 05:55 PM.