Solved

unix2dos dos2unix changing file access

Posted on 2004-08-10
2
267 Views
Last Modified: 2006-11-17
Is there any way to keep unix2dos or dos2unix from chaning the file properties? e.g.

create file testfile as user xfer
ls -la > testfile [return]
ls -la [return]
-rw-rw-rw- 1 xfer xfer 529 Aub 10 09:52 testfile
unix2dos testfile [return]
ls -la [return]
-rw------- 1 xfer xfer 529 Aub 10 09:52 testfile

I would like to do the commands above with a script. My work around right now is:

unix2dos testfile
chmod 666 testfile

It seems strange that I should have to do that.
 
0
Comment
Question by:dwanders
2 Comments
 
LVL 11

Accepted Solution

by:
avizit earned 500 total points
ID: 11764795
0
 

Author Comment

by:dwanders
ID: 11765519
I believe you just won the cigar - thanks.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now