Re: Copy files from read only fs as writable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jonathan Berry wrote:
Hey everyone,

Is there a way that I can make files from a read only file system copy
over as writable?  I have an NTFS partition (I think the same thing
happens with, say, a CD) mounted read only and whenever I copy files
over from it, they are given permissions that exclude the write bit. This is mostly just annoying, but I was wondering if there was some
way to have it automatically set the user writable bit when copying it
over.  Preferably a mount option so that it just works.  Any ideas?

Jonathan


Reading the man page for cp indicates that --no-preserve=mode
might do what you want.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux