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.
I recently downloaded eclipse IDE and Seamonkey, which are both currently executable files, but they do not show up under 'applications' on the top panel. Is there any way for me to change this such that they can appear under 'Applications' in any of the subcategories?
after the netinst finished to download the last package, one hour later the process never continues, I checked the log file and I didn't find anything suspecious, also dmesg and nothing, in fact, in the log file before checked I found that the last line was registered just a minute ago - DHCP renew IP-, so my questions are:
1. all the packages downloaded are gone?, can I restart the installation using all those packages downloaded?
2. where I can find the error or problem that cause that the installation was freezed?
3. in the case that installation needs to start from the beginning, can I use the package downloaded?
There is this bug in the latest version of Ubuntu, which is also Jessie, which is:
Can't copy a file from SMB share to the local file system: Software caused connection abort
The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".
Here is the reference material on this bug: [URL] ....
People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....
I'm trying to make a boot-able CD from a downloaded 10.04 (amd64) iso file. I downloaded the iso file and burned the CD according to the instructions on the ubuntu site. The CD would not boot and the only message was ISOLINUX .... then the computer shut down. Re-downloaded the iso file, re-burned CD, same result. Installed new CD drive, re-burned, same result. What I'm I missing? I'm fairly new to Linux but have been using 8.04-10.04 for about six months. I'm trying to make a boot-able Live CD so I can do a clean install on a new HD.
How can I automate the following: When I insert a flash drive into any of the available USB ports, some kind of script or software, must automatically mount it, delete everything off the flash drive, copy an audio file back to it and then automatically unmount the USB.Maybe I should setup some kind of Kiosk to use the above functionality - would that be easy?
I've downloaded 4 versions of Ubuntu and Kubuntu but I've had no success in making a CD. Downloading them at the same time should not have been the problem as I've done it before. This was done after a fresh install of 9.04 Jaunty I had a problem with previous installs I have of an upgraded lucid 10.04 Could several partitions cause a file corruption, I know I had a file problem with Ubuntu one across several partitions.
Alright so i found a program that i downloaded to make videos with my easycap 2.0, the program is located here [URL]... i downloaded the file and its a java run file! can you get java on linux ubuntu 10.04?
I have a flaky internet connection. So it's important for me to be able to resume partially downloaded files. I would like the YAST software manager to resume downloads of packages where I left off in case of any error. Is this possible?
I downloaded gparted. i would really like to make my ubuntu partition bigger, i've got over 200 gigs of free space on my windows partition. i've played with it some and cannot seem to figure out what to do.
1. I am unsure if any system changes have occured. I am sure I must have changed something, but apparently did not document it. 2. Printer does work from other computers 3 Computer was originally wireless connected, but switched to USB. This had no affect. Well I can scan now so great. 4, Printer is HP 6500a. 5. Printer has worked from this computer before 6 This is from cups error log:
D [05/Jan/2015:11:47:48 -0500] [Job 147] Set job-printer-state-message to "Can't copy stdin to temporary file", current level=ERROR D [05/Jan/2015:11:47:48 -0500] [Job 147] prnt/hpcups/HPCupsFilter.cpp 536: cupsRasterOpen failed, fd = 0
I downloaded the demo of Penumbra Overture, it is a .sh file (113Mb). I can't open the file. In a terminal I ran chmod +x PenumbraOvertureDemo-2553.sh and then sudo ./PenumbraOvertureDemo-2553.sh and I get an error "./PenumbraOvertureDemo-2553.sh: 2: Syntax error: "(" unexpected" . The quotation marks are my own. Is the file corrupted? One of my lugmates thinks it might be a shar file, but Karmic says that it is a shell script. Another friend says that it is too large to be a shell script. Here is the code:
john@john-laptop:~$ cd /home/john/00 john@john-laptop:~/00$ chmod +x PenumbraOvertureDemo-2553.sh john@john-laptop:~/00$ sudo ./PenumbraOvertureDemo-2553.sh
I',ve recently installed suse 11.2 on my vaio vgn-nr31e. one of the(several...)things that i'm not been able to do,is to install knew skins on xmms player,that i've allready installed. can't copy compressed downloaded skins to usr/share/xmms/skins...and by the konsole i'm getting error when trying to ./configure,after downloading and decompressing.
I would like to know how to make the file browser column width smaller than I can normally adjust with the mouse. I have minimized with the mouse, it is still too wide. Is there a minimum column width setting I am supposed to specify somewhere?
I have tried: 1. zcat boot.img.gz > /dev/sde and copy the image file debian-testing-amd64-netinst.iso to the usb-stick. 2. and manual whit syslinux /dev/sde1And also various builds of testing and it can't load the image file. always i get the error message "Filed to copy file from cd-rom"And i cant ether install 6,01 Before the image debian stable 6,0 worked and several testing builds before the stable release 6.0.The boot process work flawless but installer can not find the iso according to error msgI have verified the iso file with md5sum and made sure to write out to de stick whit sync.And haven't changed my bios boot that worked before.
I am trying something a bit tricky.Suppose there is a website URL...Now suppose when i open a file /var/www/ test.php which connects to the above website to gather some info and then allow me to further in the process, i want it to instead direct to a file say /var/www/test_done.php.How do i edit my hosts file for such a scenario? Is there any other better option than using a hosts file ?