Ubuntu :: USB Is Read Only - Can't Copy Any Files
May 18, 2011my USB has become read only and i cant copy any files onto it...
View 3 Repliesmy USB has become read only and i cant copy any files onto it...
View 3 RepliesMy Freenas server is currently off line for the moment pending the arrival of some thermo paste and I need to get some files off one of the drives. The drive is formatted in the UFS file system.I am using a usb to sata converter to hook the drive up to my laptop which is running 10.04.I am then able to browse the files by going to my /mnt folder. The problem is I cannot copy any of the files. I get a permission error. I have tried chmod 777 command to change the permission but I get an error about it being read-only. I tried running nautilus as root to copy the files but I still get a permission error. Using nautilus as root to change the permission or alter any of the read/write options fails because the drive is read only.
From what I understand I can only mount the drive as read only because its UFS and I can't change the permissions because its read only. Sounds a bit like an endless loop lol.Running Freesbie (freebsd live cd) didn't do me any good as it didn't even detect my hard drive and I don't want to learn a new OS just to transfer my files.ny advice would be appreciated. I really don't want to wait until my thermo paste comes and I will be on the road for the next couple of weeks so I won't even be able to get it setup. I need these files now.
I am making the transition to either Ubuntu or Kubuntu in the next couple days. I have been running the Win7 evaluation version which is pretty much just Win7 Ultimate.Two are internal, four are external. All of them are NTFS. So are my pen drives (512MB and 8GB). Will these Linus distros be able to access these drives? If so, to what degree? Everything I have read online so far seems to give Linux a mixed track record when it comes to working around NTFS security, etc.
View 2 Replies View RelatedI can't copy a few files from my pen drive. Got the files from a public computer, with windows. I use fedora 10.
cp gives the following error--->
cp const1.java /home/user1/Documents/scjp
cp: cannot open `const1.java' for reading: Permission denied
lsattr shows this--->
lsattr const1.java
lsattr: Permission denied While reading flags on const1.java
mount shows this--->
/dev/sdc1 on /media/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
View 1 Replies View RelatedI have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
So I have bought these DVD's of the Alias TV show on the internet (Seasons 1 to 3) and I cant read them or do anything else with them. They seem original commercial DVD's (not copies) and they are not damaged in any way. At first, I tried to rip them to my server as a backup with Handbrake and it failed. Handbrake scans the DVD and never terminates. In the Handbrake Console, I see
Code:
[22:36:28] gtkgui: HandBrake rev3736 (2011010699) - Linux i686 - http://handbrake.fr
[22:36:28] hb_init: checking cpu count
[22:36:28] hb_init: starting libhb thread
[22:36:28] hb_init: checking cpu count
[22:36:28] hb_init: starting libhb thread
[22:36:32] hb_scan: path=/media/ALIAS_SEASON_1, title_index=0 .....
I tried to open the .VOB files directly with VLC, and got
Code:
File reading failed:
VLC could not read the file.
And Mplayer said:
Code:
Seek Failed"
Finally I tried with GXine and it will read the DVD up to the main menu (I see the FBI warning message) and then it say:
Code:
Read error from:
Error reading from DVD.
So whats going on with these discs? Some sort of anti Linux encryption or protection? I have not tried on a windows machine and I did not try on a commercial DVD player since I dont have these for now.
I'm having a problem with 2 of my MP3 players being readonly, so I can't put songs on and delete song. I'm having the same problem in windoze too.
View 6 Replies View RelatedI have a question regarding Samba Permissions. As the subject described, is it possible to let users read the file but can not copy the file physically? It's fine if they open and copy paste the contents but no physical copy paste and also I need to log the activity of the users. If samba will not be able to comply my needs, could you suggest some programs to meet my requirements?
View 3 Replies View RelatedI have file in which i have some paths, i want to write a script so that it can read the file and copy the files from the paths to some destination folder which i will specify in the shell.
View 5 Replies View RelatedIs there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies View RelatedUntil now i haven't had to dabble with bash scripts.
I have a program that reads in data files. These are named datafile01_R, datafile01_G, datafile01_B, they then increment, so datafile02_R etc i have about 600 of these. the program reads in 3 data sets at a time from each run, so files_01 r, g, and b.
The program then does its magic, and outputs about 40 different files, depending on the file, they gone to folders named R, G, B, psa, or tracking.
The program itself has configuration files to say where the files should gone when analyzed, there is also the config files that reads in the data sets.
At the moment i have to run one set of data, then go in and manually change the input file location, and run again. But, doing this, even though a different data set, the new set overwrites the old set in one of the output folders. So i need a way to increment the output filenames after they are written and before the program is run again with the new data set.
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.
View 6 Replies View RelatedI have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?
View 1 Replies View RelatedI am upgrading a QNAP NAS - the unit only had 1 drive to begin with. I have taken this original drive out and hooked it to my ubuntu system and when I boot my machine ubuntu sees the volume that was the volume the qnap shared. and it sees MOST of the files. but when I go to copy stuff it gives errors stating things like 'can't copy data2.cab' - when I go the directory where it claims it can't copy data2.cab there is no data2.cab.
Thing is I am pretty sure there *IS* a data2.cab ... just that the rights or something are such that I cannot see / copy it. is there a simple command I can run on the *entire* drive that will set the ownership of ALL files so that I can see and move them? I just need to copy all these files over to the upgraded nas and then I can reformat this drive.
I just installed Ubuntu 10.04. I have successfully installed Apache2, PHP5, and MySQL. I cannot copy files or directories into /var/www.
how I can enable copying of files and directories into /var/www?
i have a macbook that wont boot. i want to copy the picture and music from the hd. i took the hd out and put it into my dell inspiron. i booted up with a live cd and im able to view the files. i can play the music. i just cant copy anything to my external hd. its telling me i dont have premissions. i tried to change that in the properties but it wont let me.
View 4 Replies View Relatedthe problem is that when i try to copy two files with the name(say ajax.js and Ajax.js) to a pen drive/USB it shows the options for either Replace/Skip. with the above two options either one of the ajax.js files will be copied, but i need these two files. I have also used different USB's, but no difference...
View 9 Replies View RelatedI have a folder that contains multiple files i want to copy.
file1_DK, file2_DK, file3_DK, file4_NO
If i wanted to copy files1-3_DK but exclude file4_NO how would i do that?
I'm trying to copy files to the /var/www folder on Ubuntu 10.04. But I think I don't hava the permission. How can I do this? Maybe I have to set the rights permissions.
View 3 Replies View RelatedWhen I use ldd it prints the location of the depends.Is there a way to copy the depends listed to a location in a single command or streamline it? I don't want to copy each dependence once at a time.
View 1 Replies View RelatedWhy can I not drag and drop files to the new volume in dolphin? I tried doing it as root and it basically told me the same thing, that I cannot write in this volume...
View 8 Replies View RelatedWhile copying big folders in ubuntu using cp command,it takes a long time to copy in which no status comes on the console while copying.Is there any way to see the status of copying big file while the system is copying the files?
View 2 Replies View RelatedI have a Emerson MP3 player its a real cheap piece of garbage but I got it for free so whatever. I want to use it for audio books. when I plug it in and try to copy files to it it says I dont have permission its read only access. Trying to change the permissions does not work no matter what I try. I ended up finding out it is formatted as a msdos partition, which from what I read at another web site may be fat16. Dont know for sure about that though, just know it says msdos partition type. how I can change permissions to this so I can put my audio files on it?
View 9 Replies View RelatedI have the following problemI want to copy files to a usb at random?My_mp3_400GB to my_usb_32GBjijiji is enough?But I have little idea how to do it on command, I want to copy files to a usb at random?cp My_mp3_400GB/ /my_usb_32GB????
View 2 Replies View RelatedMy computer doesn't like to copy files over 4 gigs to a flash drive. It will copy for about 12 minutes, and then when it's almost done, it's says "File to large." Is there some sort of limitation in the software that can be adjusted for this.
View 8 Replies View RelatedNow I have learned creating partition in linux (ubuntu), well that's an achievement for a newbie.
The next thing that I want to know is, how can I copy the contents of a partition to another partition. Like if I want to backup its content to a new partition that Im going to create.