Copy Files/dir Without Permissions
Apr 17, 2007
I am trying to copy files from one account to another through SSH, files copy with old account permissions and ownership.
Is this possible when I copy, ownership autometically changed to new account.
I am using CPanel and have root access.
View 2 Replies
ADVERTISEMENT
Mar 17, 2015
Ok, new to Plesk, trying to move from ispconfig. So I have Plesk 12 running on Centos 6 64bit in a VPS. I figured out how to upgrade PHP and now I have installed my first website. The website is joomla based but I am getting the below error when installing components:
Warning
Copy failed.
JInstaller: :Install: Failed to copy file /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/tmp/install_55081e65af5fe/pkg_kunena.xml to /var/www/vhosts/virtual-sim-racing.com/httpdocs/home/administrator/manifests/packages/pkg_kunena.xml
Package Install: Could not copy setup file.
This suggest to me a permissions issue - but what to do with it. I have checked all of the relevant Joomla folder permissions and they are all showing as writeable, so it looks like something outside of that?
I don't want to have to stick with ispconfig much longer ...
View 7 Replies
View Related
Feb 23, 2007
How do I copy all files and directories recursively to another folder?
I did:
cp --preserve -r /sourcefolder/* /destinationfolder/
However, it missed the dot files
View 2 Replies
View Related
May 1, 2008
I have about 1.80GB of flash games and I want to copy this flash games to another server, I only want to copy the flash games not the entire account.
FYI I have shell access on both server.
View 5 Replies
View Related
Apr 25, 2007
I found that with unix's shell is possible copy all the content of a folder to oneother; I see the manual and found the command cp;
but there are many parameters;
which is that good?
I would like to replicate all that I have inner a folder to oneother;
so at the finish they must to hawe the identically content;
but I see, that some parameters can change symlink etc...
I want one clone exactly .
the originally folder have at inner directory,subdirectory, files htaccess etc..
View 1 Replies
View Related
May 28, 2009
I have tried copy files from Linux server to Windows Server using WinSCP3 and it was so fast.
I am not sure who to copy files as well from Windows to Windows with same speed. I tried to use RDC between the Windows Servers and share one drive. But it wasn't fast as WinSCP3.
View 9 Replies
View Related
Jun 28, 2009
I want to my friend's files from /home/admin/dc
to /home/ as I am planning to rebuild kloxo for him, this could kill all the files so, I would like to know the code so tht I could copy few files from the above location to the home directory
View 4 Replies
View Related
Jul 30, 2009
to move the httpdocs folders of multiple sites on my plesk server to another server (share on other serv is already mounted so thats not an issue) but their is 31 different domains i need to copy. wondering if anyone knows any way to batch automate a cp process to copy each domains files to a new folder on remote server (this is for backup purposes not live sites so i cant use plesk migration etc
View 3 Replies
View Related
Nov 22, 2008
What tool is there for me to copy a lots of file from one webhost (FTP site) to another webhost? Like in for migrating to another host.
I'm thinking of a tool where I can specify the FTP access information for both sites, and it would perform the copy without needing to store the files on my local hard disk first.
View 6 Replies
View Related
May 31, 2009
I rent windows dedicated server for just about a month, but I never had problem.
When I copy files on my home computer and then paste them onto server's drive, files begin copying, but after some time they stop copying and I hear double beep sound.
Time after which they stop copying is random.
View 5 Replies
View Related
Mar 26, 2009
I'm trying to use the "mysqldump" command to get a copy of all databases on the server...
but I need each database to go into a "databaseXYZ.tar.gz" file.
Does anyone know how to do this? So far, I can only get all the databases into a single file. But I need each database to have its own file.
View 4 Replies
View Related
Aug 27, 2007
To automate a task, I need to create a shell script that will allow me to copy the folder blank/ to a new location and rename it to news/, same for the files inside that directory. And, if possible, change the content of one of those files as well.
For example, I need to copy this:
Code:
blank/
templates/
frontend/
index.html
Blank.php
...to a new folder and rename it to this:
Code:
news/
templates/
frontend/
index.html
News.php
View 5 Replies
View Related
Feb 5, 2008
how to setup a cron job to copy files & directories from one folder to the root folder. I have CPanel X.
My root directory is public_html/
I have another directory public_html/uploads containing both files and directories.
I need a cron job that will copy all the files & directories from public_html/uploads to the root public_html/
If it helps, here is some system info
General server information:
Operating system Linux
Service Status Click to View
Kernel version 2.6.22_hg_grsec_pax
Apache version 1.3.39 (Unix)
PERL version 5.8.8
Path to PERL /usr/bin/perl
Path to sendmail /usr/sbin/sendmail
PHP version 4.4.4
MySQL version 4.1.22-standard
cPanel Build 11.17.0-STABLE 19434
Theme cPanel X v2.6.0
View 1 Replies
View Related
Nov 9, 2007
How to Change php files permissions in directory and subdirectory at once ?
I want to change the permissions of php permissions to be 644 in /home/user/public_html/forum and all forum subdirectory using SSH.
View 2 Replies
View Related
Jun 26, 2007
I've recently started experiencing some issues where files uploaded through Joomla or some other scripts (mostly PHP) inherit a permission of 600. Prior to updates being done on the server I'm hosted on, uploaded files received 644 permissions and all things worked great.
I've checked the umask that assigned to the shell (022) and have ruled out that as a problem.
View 7 Replies
View Related
Sep 9, 2013
How can I change permissions of a lot of files through plesk file manager without selecting one by one?
View 2 Replies
View Related
Dec 30, 2008
On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first.
Now I cannot, and files are required to be chmoded properly so I can write to them.
I cannot even touch() a file with PHP.
Is there any way to have this permissions removed?
I don't want to chmod the all thing, all I want is to change the configurations so I can fwrite() or file_put_contents() normally.
I's a dedicated un-managed server, so basically any advanced configurations can be done.
View 8 Replies
View Related
May 15, 2014
I have a python script that generates images and is able to write them into a directory on the same web space
However, I would like the same script to write files into another directory located in the web space of another domain on the same server.
For example, script lives here...
/var/www/vhosts/domain1.com/httpdocs/scripts/myscript.py
this works...
/var/www/vhosts/domain1.com/httpdocs/scripts/images/
this fails...
/var/www/vhosts/domain2.com/httpdocs/web/images/
The directory structure already exists, so there is no need to create any new directories
I have tried setting permissions for the destination "images" directory to 777 and that didn't work.
Do I need to specify something within Plesk to enable it to write to another directory?
View 6 Replies
View Related
Mar 3, 2015
I am having problems with two accounts, I get the following errors:
Code:
Failed to copy files storage to destination path. stderr: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded stdout: filemng: Cannot open destination file '/var/www/vhosts/domain.tld/httpdocs/index.html.Chn3rn' System error 122: Disk quota exceeded
I have run the command
Code:
quotacheck -avugfm
And the output from the command
Code:
df -i
is:
Code:
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/vzfs 20000000 1542375 18457625 8% /
/dev/simfs 20000000 1542375 18457625 8% /tmp
/dev/simfs 20000000 1542375 18457625 8% /var/tmp
none 1415577 113 1415464 1% /dev
I am at a loss, I don't know what else to try.
View 1 Replies
View Related
Oct 7, 2008
In previous thread we made few manual transfer of our domains.
We also made some automated migration of few domains/sites using Web Host Manager's Copy an account from another server feature.
All the files and other settings were properly transferred from old server to new server, but only the mysql database is not visible on new server. I am unsure if the same got copied to new server.
View 4 Replies
View Related
Jul 21, 2009
i use Adaptec 2200s with three scsi HD to do raid,
it is install centos with cpanel.
after rebooting,it can not load into the raid5 well,
and shows no logical drivers... and no operation system found.
i try to add new hd,but it still do not build and run.
i think it may the raid5 configuation on the three HDs are missing are ger problem or it will not work at all.
i want to ask,if a use another three hds with the Adaptec 2200s to set another raid5.
and build another one server.
and i mount the old first one HD from the old raid5 and mount the new first one HD from the new raid5,
and copy the files from old ones to the new ones.
View 3 Replies
View Related
Jan 11, 2008
How do I copy an entire mysql sql database file via ssh?
Inside /var/lib/mysql the sql are per table, not one single sql. The db is over 300mb in size too.
Using mysql 5/centos 4.6
View 2 Replies
View Related
Jan 2, 2008
I couldn't keep my mouth shut (technically fingers). A customer wanted to upgrade servers and he needed a way to move the data across. Since I don't allow hard drives to be swapped, they have to do it manually all by themselves. I generally allow up-to 4 days for them to transfer data and make DNS changes, etc. But this time, I offered help! I agreed to move the data (darn me) and it just came out of me, involuntarily.
God knows what just happened... but in a positive way, customer is extremely happy!
So...
Both servers are on cPanel - with root access (duh)
200 odd files which total to 25 GB
1 database about 100 MB in size (no biggie)
I was planning on using one of my Windows 2003 servers (via remote desktop) to download the 25 GB and upload the 25 GB, but that sounds like a waste of resources and time.
View 8 Replies
View Related
Mar 27, 2009
I have around 40 domains and I'm trying to avoid copying each one over manually. I can't remember what files need to be copied and the best command to do that.
View 7 Replies
View Related
Apr 7, 2009
I have wrote a small script which copies file names which has name as *default* from backup to users main folder. It works fine with one folder but doesn't copy files from sub-folders.
it works with all the sub-folders as well?
HTML Code:
#!/bin/bash
for i in $(ls /var/cpanel/users)
do
rsync -vrplogDtH /backup/cpbackup/weekly/$i/homedir/public_html/*default* /home/$i/public_html
chown -R $i.$i /home/$i/public_html/*default*
done
View 2 Replies
View Related
Jan 29, 2008
I want to use DD to fully duplicate a HD, however, the HD is 120GB and also have a mount folder that is 2TB. If I use DD, will it also trying to copy that 2TB onto my 2nd HD?
View 3 Replies
View Related
May 18, 2007
It turns out my 250GB hard drive was no match for my data... I need to upgrade the HD.
I'm currently using ClarkConnect Community Edition.
Is it fine to make a duplicate of an existing hard drive and just plug the new one in?
Is there any further configuring or is it all sweet?
Also, what software do you recommend to make the copy?
View 1 Replies
View Related
Jan 21, 2007
I have 2 cpanel servers with root access.
I want to copy all the accounts from 1 server to another.
View 2 Replies
View Related
Jul 30, 2006
wasn't sure if this should go into "technical" or "programming" but I figure someone here will instantly be able to tell me...
(details: I'm on a shared host with cpanel and centos 3)
My hosting service techs refuse to update gnu TAR on the server even though it's several years old at 1.13 and has some know bugs that are annoying for complex calls - (basically the techs use any request like this to try to upsell me to dedicated or VPS which I don't need at my low level)
So I'd like to install a "local" copy of the newer gnu 1.14 or 1.15 TAR (which I *think* is possible?) into my account and have it run instead of the shared copy?
Unfortunately this is beyond my knowledge so thanks for any help in the right direction...
View 3 Replies
View Related
Jul 9, 2009
I have a large directory which I want to copy to another account on the same server. Its 1 folder which contains 20000+ files and its around 2GB in size.
I used:
Quote:
cp -r /home/useraccount/public_html/foldername /home/useraccount2/public_html
It worked but some of the files didn't transfer correctly,
View 11 Replies
View Related
Apr 20, 2008
I was trying to copy packages from one cPanel server to other using Copy function in WHM
accounts were moved easily but packages failed , Tried 4-5 times but still failed.
View 2 Replies
View Related