How to burn read and write files on DVD
I would like to know how to burn DVDs (image files) with the Read and Write setting. I have changed the settings in Get Info for the image files to Read and Write for Owner, Group and Others and yet when I burn the DVD and try and copy the files back onto the hard drive (to test if it works or not) it won't allow me. When I check the Get Info it says Read and Write for owner (greyed out) and Read Only for Group and Others (greyed out too).
I have also tried to change the status of the blank DVD before adding files and after adding the files (but b4 the burn) to Read and Write, this works but then during the burn process the DVD or burner changes my settings to Read Only.
I am burning with Finder and have tried with Toast 10 Titanium. What am I doing wrong, or not doing at all?! I'm going loopy with frustration!
Kiraly, I agree that the actual problem here might be something else, but as a side issue there seems to be a difference in the way permissions are handled when a file copy is made using Finder compared to when the copy is made using the cp copy in Terminal. At least in my Tiger system, Finder preserved the permission structure, though not the ownership, when it copied a file, whereas cp used the OS defaults.
I tried the following experiment:
From my test user account "t", I created a textfile named ReadWrite.txt, and gave it Read+Write permissions for Owner, Group, and Others. I then burned it using Finder to a DVD which I named PermissionTest, and then unchecked the "Ignore Ownership" box on PermissionTest.
The original ownership and permissions were preserved on the DVD, though of course you couldn't actually write to anything there:
xxG5-Computer:~ t$ ls -l /Volumes/PermissionTest/ReadWrite.txt
-rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
I then copied the file from the DVD to the Desktop using Finder, and the permissions were preserved!
Finder copy:
xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
-rw-rw-rw- 1 t t 15 Sep 13 18:25 /Users/t/Desktop/ReadWrite.txt
I then trashed the Finder copy of ReadWrite,txt on the desktop, and made a second copy from the DVD, but this time I used the cp command from Terminal instead of using Finder. This time the permissions were not preserved, but reverted to the OS default:
cp copy:
xxG5-Computer:~ t$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
xxG5-Computer:~ t$ ls -l /Users/t/Desktop/ReadWrite.txt
-rw-r--r-- 1 t t 15 Sep 13 19:43 /Users/t/Desktop/ReadWrite.txt
I then switched to a different user account "t1", and repeated the above with the same DVD, first copying the ReadWrite.txt file to the desktop using Finder, and then using cp. The ownership of the copied file changed from t to t1 in both cases, but the permission structure again was preserved in the Finder copy but not in the cp copy:
DVD file:
xxG5-Computer:~ t1$ ls -l /Volumes/PermissionTest/ReadWrite.txt
-rw-rw-rw- 1 t t 15 Sep 13 18:25 /Volumes/PermissionTest/ReadWrite.txt
Finder copy:
xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
-rw-rw-rw- 1 t1 t1 15 Sep 13 18:25 /Users/t1/Desktop/ReadWrite.txt
cp copy:
xxG5-Computer:~ t1$ cp /Volumes/PermissionTest/ReadWrite.txt Desktop
xxG5-Computer:~ t1$ ls -l /Users/t1/Desktop/ReadWrite.txt
-rw-r--r-- 1 t1 t1 15 Sep 13 19:51 /Users/t1/Desktop/ReadWrite.txt
I got similar results when I tried copying a file with Read+Write permissions for all from a USB flash drive to the Desktop, again with the "Ignore Ownership" box unchecked.
Similar Messages
-
How do I read and write files on a mac?
On my windows it's easy, but when I try to write files and read them
on a Mac the filepath is always wrong. I want to write to my
"Documents" folder, and when I do /Documents/Hello.txt as a filepath
it gets it wrong. I don't know why it won't work because I'm not too familiar
with macs yet. Any help with the filepath problem?Your Documents folder is not /Documents. It's /Users/your_user_name/Documents
-
i am using IE as brower,. how do i change the properties so that i can let an applet to read and write files on my system? thank you, for help.
DON'T POST MULTIPLE TIMES!
Proper English:
I am using Internet Explorer as my web browser. How do I change the properties so that an applet can read and write files to my local system? Thanks for any help.
Answer) Search on Java and security in the forum search or google. This topic is covered numerous times.
DeltaCoder -
How can I read and write text in rings that are inside an array?
Hello All!!!
How can I read and write text in rings that are inside an array?
Regards and thanks in advance.Use a Property Node linked to the Ring inside the array.
Of course, all elements in the array will have the same text values.
B-)
Message Edited by LabViewGuruWannabe on 12-13-2007 09:47 AM
Message Edited by LabViewGuruWannabe on 12-13-2007 09:48 AM
Message Edited by LabViewGuruWannabe on 12-13-2007 09:49 AM
Attachments:
Strings-BD.PNG 17 KB
Strings-FP1.PNG 23 KB -
What do I need to do to be able to read and write files to a Seagate Backup Plus Slim Portable Drive on BOTH a Mac and a PC? I downloaded "Paragon NTFS for Mac" onto my Mac, so now I can write to the drive, but when I plug it into a PC it won't work.
If the HDD is formatted NTFS, then it suggests that there is a problem with the PC. Check with the manufacturer.
Ciao. -
How do I read and write to text files on a remote computer's hard drive
I would like to read and write data to a text file on a remote computer. This is easily accomplished using one of the file functions such as "write characters to file.vi". If I am already connected to the remote computer, all I need to do is specify the path to the particular file and it will work fine.
My problem is that I want to connect to the remote computer programatically within LabVIEW (I do not want to have to use the computer's OS to establish the connection. Is there a function that I can use to do this?
Thomas D. Schaefer
Wells Manufacturing CorpYariv,
You should really start a new thread with a new question like this, so that more people see it. Some people look primarily at threads that have no responses yet. Also, don't post the exact same question in multiple places. Or, if you must cross-post to some other forum, make sure to mention it in your question text.
I'm happy to be a brick in your Western Wall, but I'm not sure what the main objective is here. Is the main problem really getting access to the "X bytes received in Y seconds at Z bytes/sec" string? Or is it accomplishing the file transfer? And what OS and LabVIEW version are you running?
I think your problem is that you the LabVIEW System Exec command does not allow for the degree of interactivity that you need if you want to issue a sequence of commands to a command-line executable. However, under Windows XP (and, presumably, other Windows versions, though I can't check), you can tell the FTP executable to use commands from a textfile script by using the -s switch, and you can override the prompts during multiple file transfers with the -i switch:
ftp -i -s:FILEPATH SERVERNAME
If you issue a command in this format to System Exec, and make sure to create a file at FILEPATH with your command sequence (one per line), then you should at least accomplish the FTP actions. This won't give you the transfer details in the standard output, unfortunately. However, if you just want a general sense of how much was transferred and how quickly it happened, you can code that in LabVIEW by getting the resulting file sizes and using Tick Count before and after the System Exec call to see how long the transfer took.
Hope that helps,
John -
Hi
please help me
How to read and write data from file in j2mehello, u are looking to write some persistant data to a file on the mobile phone? Its the next step for me aswell. You can use the recordset function.
I'm looking at this site: http://www-128.ibm.com/developerworks/library/wi-rms/
It seems every time you use the function you must use try catch blocks. I hope this is what you are looking for. -
Read and Write Files to user from Forms Server
We are developing an application that requires us to rread and write files to the user system. We are deploying using the developer/forms server and this is not happenning. The text_io package and the d2wkutil operate on the application server system, not the user system. So is there a method to read the file contents into the app and write files out to the user system across the web. Thanks.
developer6 can interact with javabeans. the javabean runs as an applet on the client machine. all you have to do is setup a javabean that read and write to your client machine.
when you test your application, work with java console open so you'll be able to debug your appliacion, if you'll receive java security execption you may need to sign this javabean. look at sun site for info regarding the usage of javakey for signing java classes and jars. -
How do I read and write at the same time using the NI-CAN channel API?
Here's the situation. I have one CAN bus, and I need to read and write channel data (using the channel API) at the same time both at an interval of 20 ms. It's easy to do one or the other using the channel API, but you can't setup a channel task to do both. It's either input or output, not both. Is this even possible?
Hi,
yes , this is possible. But you have to create two tasks, one for input and one for output. see the attached example for LabVIEW.
If you download and install NI-CAN 2.4 you will get this example and one for C and VB as well.
DirkW
Attachments:
Single Sample Input Output same Port.vi 79 KB -
How to enable read and write to thumb drive,how to enable read n write on thumb drive
How to enable read n write to my thumb drive
Format it for apple or Fat32 or exFat.
Check the write protect switch on the thumb drive. -
How to read and write files using flex?
Using flex, we would like to make some utility that will do a
lot of reading and writing from local files.
The writing is what I am more worried about. How is this
possible?
I want to make .zip files containing many xml files, and some
assorted media files such as .swf jpeg, html, etc.
I am new to flex btw, I've never used it properly before, and
this is the main concern I have with flex, which is that it doesn't
let me write and read lots of files.
Mainly we are looking for a good cross platform solution that
will let us develop an app, and flex looks professional and it is
cross platform. The "internet app" side of things, isn't so much
what we need really.
Would wxWidgets be better suited to our needs?The Flash player sand box will not allow reading and writing
local files. If you want to use Flex to create a desktop you will
need the Apollo runtime. The alpha is available at Adobe
Labs. -
How can I read and write a Word document keeping the formatting properties
Hi everybody,
I am reading a word document and writting it into a XML document. I need to keep the text formatting. Which properties and how I
can access them using HWPF POI?Note: I am already using HWPF POI with java to read the word document.
-
Help with how to read and write files to the applets server
I am writing a form that requires some data to be written serverside(not on the host machine) and I also need to be able to read from those same files.
Can anyone provide any help?
I looked into signing but it seems, to me, that signing is for when you are going to be modifying files on the host...brianb7590 wrote:
Would I use that to refer to the file like I would with a regular application?Nope. It's pretty complicated. You've got to set something up on the server to accept requests, get all the data and then save files somewhere and on the client side you've got to make the connection and send the data.
Edited by: tjacobs01 on Apr 13, 2009 5:49 PM -
hello
I have web application and I try using servlet to upload an image
upload proccess works fine
example
1. I upload the the file C:\images\books\mybook.gif into
temp folder
2. other actions
3. I want to write the fole mybook.gif into othet folder
this process oerks fine on my home pc
but I becom an ecxeption by webprovider
/home/mydomain/public_html/projects/tempData/C:\images\books\mybook.gif(No such file or directory)what shoud be the problem and how to solve this issue
thankshere is the code of the uploadservlet
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
PrintWriter out = null;
String tempUploadDir = request.getSession().getServletContext().getRealPath("/")+"MyTemp"+File.separator;
try
out = response.getWriter();
response.setContentType("text/html");
MultipartRequest parser = new ServletMultipartRequest(request,
MultipartRequest.MAX_READ_BYTES,
MultipartRequest.IGNORE_FILES_IF_MAX_BYES_EXCEEDED,
null);
Enumeration files= parser.getFileParameterNames();
while(files.hasMoreElements()){
boolean sizeOK = true;
String name = (String)files.nextElement();
String filename = parser. getBaseFilename(name);
InputStream ins = parser.getFileContents(name);
if((parser.getFileSize(name) / 1024) > AppConstants.MAX_READ_BYTES){sizeOK = false;}
if(sizeOK){
if (ins!=null)
BufferedInputStream input = new BufferedInputStream(ins);
FileOutputStream outfile = new FileOutputStream(new File("MyTemp",filename));
int read;
byte[] buffer = new byte[4096];
while ((read=input.read(buffer))!=-1){
outfile.write(buffer, 0, read);
outfile.close();
input.close();
}// end out while
}catch (Exception e) { out.flush(); }
what is to change here thanks -
Read and Write files to data base throught Oracle Forms 6i
Hello, please help me!
How to attach or insert file into DB throught Oracle Forms and later open it ?
Is there any possibilities to do that?
Would be very appresiative!
SolveigaSorry forgot to add, Below is the code
BEGIN
A:=:EXP.D_DIR||'\'||'ACTIVITYS.TXT';
hFile := Text_IO.Fopen(A, 'w');
iCount := 1;
OPEN cData;
LOOP
FETCH cData
INTO F1;
EXIT WHEN cData%NOTFOUND;
IF iCount <> 1 THEN
Text_IO.New_Line(hFile, 1);
END IF;
Text_IO.Put(hFile, F1 );
SYNCHRONIZE;
message(to_char(iCount)||' Of '||TO_CHAR(:B1.CCOUNT),no_Acknowledge);
set_item_property('spin.pro',width,2*round((iCount*100)/NVL(:B1.CCOUNT,1)));
iCount := iCount + 1;
END LOOP;
CLOSE cData;
Text_IO.Fclose (hFile);
END;
Maybe you are looking for
-
How do I erase credit card info from my apple id
I need to erase credit card info on my iPod but I don't know how.
-
Portal requests don't hit the deployed J2EE filter
Hi, What I am tring to obtain is that all requests are filtered via a J2EE filter. I've deployed the filter and tested it successfully. The filter mapping was set to "/*" so that it catches all requests. It works fine when tested at the J2EE level. T
-
Lacie external drive time machine error
I'm using my Lacie external drive (2TB) for my time machine. And it has this problem that every time after I put my macbook to sleep, the time machine won't work, it keeps showing this message "error occurred during back up" (but it doesn't not speci
-
If anybody can Help me! installing solaris 8 in intel chipset 820v
Hi All, During installation of Solaris 7 or 8 in Intel plateform, I have encountered following problem listed below.I have also checked the motherboard's chipset with Sun's Hardware Compatiability List, it is there. My Machine: Intel PIII Motherboard
-
i want know how to edit store and delete off my lightroom 5