Sftp File Ownership

May 19, 2009

I have it setup and have a user created that can upload files to my website.

The problem that I am running in to is that the files that this user uploads are owned by him not the cpanel website user. Thus when I try to view the page in my browser I get a server 500 error since the site is set to only serve up pages that are owned by the cpanel website user.

When using FTP in the same way we did not have this problem as the file that was uploaded would automatically be owned by the cpanel website user.

View 0 Replies


ADVERTISEMENT

Apache Keeps Taking File Ownership

Apr 8, 2008

FreeBSD 7.0
Apache 2.2
PHP5
Mysql 5.1

I have been battling this for a while. A user will setup a CMS like joomla, e107, etc and every time the CMS changes files either with user interaction on the website or the admin changing things in their cms admin web page, apache takes ownership of the files.

I have tried installing suPHP, FastCGI, and most recently suexec. I am not having any luck with this. I really don't know what I am doing with these recent additions but meanly going on suggestions. Does anyone know of a walk through to fix this permission problem? Anyone with some good advise? Surely not everyone is having to write a script to chown each user's dir and run a cronjob every 5 minutes.

View 8 Replies View Related

How To Give File Ownership Privileges To External IP Address

Aug 4, 2008

I have a software program on my home PC that writes to files on my remote VPS every few minutes.

The only way I can accomplish this is to CHMOD the files to 777 and give the whole world write priveledges.

Is there a way I can give my external (home) IP address write priveledges to certain files on my VPS without CHMODing them as 777?

I run the latest version of cPanel and WHM on my VPS.

View 6 Replies View Related

How To Resume Sftp File Transfer

Apr 26, 2007

I am unable to find how to resume file transfor via sftp and command line:

I use PUT command to upload file, but when connections fails and I start again, the transfer starts from its beginning - how could I made it to check the uploaded part and then resume?

View 1 Replies View Related

/tmp Ownership

Dec 6, 2008

when i run CSF security check i get

Check /tmp ownershipWARNING/tmp should be owned by root:root
the /tmp seems to be set to nobody:nobody
Is it a Security Risk.?
Other options are set fine on /tmp
Check /tmp permissionsOK
Check /tmp is mounted as a filesystemOK
Check /tmp is mounted noexec,nosuidOK

running centos + cpanel and Apache 1.3.x

View 6 Replies View Related

RackEdge Ownership

Jan 11, 2009

Does anyone here know who owns Rackedge NL? Are they a member of this forum? I am having a real bad problem, that certainly defy's logic and reason and i can’t seem to get any replies from either member McRox or the Support team.

Rather than posting wildly around the net about them and this issue, I would prefer to first ensure this isn’t just a big misunderstanding, so any details anyone can offer on this.

There is only 3 people i have been in contact with in this company
McRox (Member of this forum)
Tony Deeman (Support)
John de Groot (Sales)

View 12 Replies View Related

Control Panel And Ownership

Jun 11, 2009

i got a unmanaged vps and i do not know why i often see folders and files ownership belonging to apache instead of myself and i have to manually reset ownership via directadmin file manager or ssh in to do it....can anyone advise me how to fix this problem as in anything i can do to stop all these apache ownership problem...

Another thing about directadmin, i select all folders and files at once trying to reset ownership but i always get an error and have to reset ownership one by one wasting time....

View 3 Replies View Related

Change Ownership To Nobody : Apache

Nov 21, 2008

One of my customers wants me to change the ownership to nobody and group to apache in a directory created in the home directory of his website. I want to know whether doing so will pose any security problem. Also is there any advantage of changing the owner to nobody and group to apache?

View 11 Replies View Related

Direct Admin : Root Ownership

May 15, 2007

I'm Running (just) Direct Admin On a Centos 4.3

Due to a typo at the comand line as Root, ive manages to change the owner ship of unknown mounts of files.

The command that was processed (Before it was complete)

chown -R reseller:reseller /

I managed to stop the process ctr+c
and these were the last files to see fly past.
The last one in the list is where it stopped at.

Code:
chown: changing ownership of `/proc/11566/task/11566': Operation not permitted
chown: changing ownership of `/proc/11566/task/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/task/11572/cwd': Operation not permitted
chown: changing ownership of `/proc/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/cwd': Operation not permitted
chown: changing ownership of `/etc/X11/X': No such file or directory
chown: changing ownership of `/dev/core': Operation not permitted
chown: changing ownership of `/usr/local/include/libpng/libpng12':

Too many levels of symbolic links

At the moment the server is still running and it seems only to be log in issues with Direct admin. All user / reseller / Admin accounts can no longer log in.

Error after logging in : Unable to determine Usertype user.conf needs to be repaired
No images or nothing

View 4 Replies View Related

Changing Ownership Of Multiple Accounts In CPanel Using SSH

Nov 7, 2009

I have to mass change the ownership of accounts and I find "Change Owner of Multiple Accounts" tedious.

I found a bash script but I'm not sure if this works

Quote:

#!/bin/bash
IFS="$"

cd /var/cpanel/users

if [ $# = 2 ]; then
replace "OWNER=${1}" "OWNER=${2}" -- /var/cpanel/users/*
else
echo "USAGE: ./${0} <old reseller login> <new reseller login>"
fi

If that works, how can I tweak it so that the change in ownership of accounts will be based in the hosting package and not in the old reseller account?

View 3 Replies View Related

Whostmgrd :: Stranger IP With Root Ownership And Command

Jun 28, 2008

When I have checked the 'Current CPU Usage' in root WHM there was a stranger IP with root ownership and command: whostmgrd - serving xxx.xxx.xxx.xxx

Also there was my IP with this ownership and command, like every time I am viewing the WHM.

I have blocked this IP with apf immediately, and the root password is changed.

Does it mean someone was in root WHM?

I have a dedicated server with cpanel on centos 4.6 / chkrootkit and rkhunter / all of server's softwares are up to date / compilers disabled for users / php open base dir is enabled and my users do not have SSH access.

View 2 Replies View Related

Am I Correct The R1soft Does Not Preserve Permission/ownership

Aug 9, 2008

Am I correct the r1soft does not preserve permission/ownership?

View 5 Replies View Related

Plesk 12.x / Linux :: Way To Reset Permissions And Ownership For Directories Back To Standard?

Oct 13, 2014

run a command on /var/git to set rights and onwer without being cautious enough.I have run chown git:git .* -R which did not only run direction downwards the tree but upwards as well :-(

Any way to reset permissions and ownership for the directories back to standard?I tried /usr/local/psa/bin/repair already. Did lot of the fixes, but not all is in line yet.

View 1 Replies View Related

Dos Sftp

Apr 3, 2007

to set up a batch file on our server (Windows Server 2003) to upload an xml document to the web everyday. Due to nature of our business, we require the ftp to be secure (SFTP), so i need a DOS SFTP add-on: any suggestions.

It is also a requirement that we PAY for it (management?! ),

View 1 Replies View Related

SFTP Users

Oct 14, 2009

we have a WHM account... we have different accounts on that...and for each account, there are add-on domains underneath that. (i hope you know what i mean)

and we set it up to use only SFTP to connect to server. no FTP.

after we have set it up that way, it seems that we can only connect to SFTP using 1 user/pass for each account... that is the same user/pass we use for Cpanel of each account.

say, i have Account A... under Account A, i have addon domains: A1.com, A2.com, A3.com...
setting SFTP only on that server, all those addon domains of Account A, can only use 1 user/pass to login to SFTP which is the cpanel access also of Account A.

question is.... is this behavior correct??

how can we create a different user for each add-on domain?

View 4 Replies View Related

SFTP Woes

May 1, 2008

I'm trying to upload about 200 Gb of data and it became clear to me to route it out a specific connection sftp was the way to go.. (the ssh2 kind)

The problems I'm now having is that the 2 applications I rely on cannot get the job done.. CuteFTP Pro 8 can't even begin to get it done it crashes, errors out etc. and for while there it looked like the free program WinSCP was going to get it done but now it errors out/crash's and while it actually did get about 1/4 of the data done, it seems to think when it reported it done.. it got it all (that is when it doesn't crash for no reason, these crashes only occurred mainly when I tried to get it do 3/4's or the rest of the data)

So anyway.. recommend me a good client app if you can.. (that does real folder sync transfers) preferably ssh2/sftp, I'm uploading to dreamhost if that makes a difference I assume it doesn't though..

View 14 Replies View Related

Speeding Up SFTP

Mar 3, 2007

I've noticed that on most servers I use, downloading a file over SFTP is about 4x slower than downloading over HTTP. Can anyone tell me why and if it's possible to tune the SFTP server?

- neither the server nor my desktop shows significant CPU use so it isn't the processing overhead of encryption.

- The symetric key ciphers used should not increase the number of bytes transmitted.

- The file being transferred is already bzipped so the HTTP isn't faster due to compression.

- I'm using OpenSSH on Linux / FreeBSD server side, and WinSCP on Windows XP / Vista client side.

View 1 Replies View Related

SFTP To Server NOT Using Root

Oct 25, 2009

direct root logon to a server is disabled; using another login, obviously. However, I need to be able to SFTP files from my computer to a directory on the server using said login - yet it does not have correct permissions, evidently, and therefore can't even see the directory I need to be able to SFTP files to.

Tried CHOWNing the directory with that usename, giving it 777 permissions, etc.

View 5 Replies View Related

SFTP Is Not Working No VPS Server

Jul 28, 2009

i am not able to get connect to SFTP server

domain : testing.com
user : test@testing.com
pass : 123456
port : 7256

& getting following error
#####################
Status: Connecting to testing.com:7256...
Response: fzSftp started
Command: open "test@testing.com@testing.com" 7256
Command: Trust new Hostkey: Yes
Command: Pass: ************
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server
#####################

note that we are able to get connected to the server with FTP using same username & password

i asked our data centre regarding this issue & they suggested to use root password , but we don't want to give root password to the client

View 13 Replies View Related

SFTP - Permission Denied

Jul 18, 2009

I just got a barebone server. Installed apache2, php5, mysql,phpmyadmin.

I only have SSH access to the server. I wish to use CoreFTP to transfer some webpage files to /var/www folder. I can login the server using CoreFTP's SSH/SFTP and it displays all the files and directories, but I do not have the permission to write.

My question is, how do I give myself permission to write? Here is the id of my user:

uid=1000(charlie) gid=1000(charlie) groups=1000(charlie),4(adm),20(dialout),24(cdrom),46(plugdev),110(lpadmin),111(sambashare),112(admin)

View 3 Replies View Related

Ssh Or Sftp In Windows Hosting

Dec 6, 2007

I'm noticing that no one seems to offer SSH or SFTP access to Windows hosts. It seems it would be more difficult to offer this, but does anyone reputable offer this?

I am planning on uploading semi-private MS Access databases (hence the lack of Unix options) for site use, and I'd rather not expose them unencrypted.

View 1 Replies View Related

Networking Patch - 5e Or 6 ? Ftp / Sftp / Sstp

Aug 18, 2009

How do you plan new network cable on your rack?

5e utp

5e ftp

6 utp

6 sstp

6a sftp

View 8 Replies View Related

ProFTPd - Login Via SFTP Only? Using Webmin

Nov 15, 2008

I have installed ProFTPd through Webmin onto Ubuntu 8.10 Server edition.

I can connect to ProFTPd via FTP on Port 21 no problem, but currently am unable to via SFTP (using WinSCP).

I would like to block all FTP access on Port 21 and only make it only possible to connect via SFTP/SSH on Port 22.

View 1 Replies View Related

Encrypted Backup From Windows To FTP/SFTP

Aug 29, 2007

Most of my background is the Linux/Mac world, but I do have ample Windows skill set, just not as refined or aware of all the available applications in Windows world, geared toward Joe User.

My accountant needs to run two sets of backups. First, he wants to backup his documents to an offsite location (space on his web hosting service) and he wants them to be encrypted on the web hosting server, which is understandable and recommended.

Short of installing TrueCrypt and using Filezilla with a manual process , is there any free or low-cost (but well supported) that would automatically upload revised documents and data files in encrypted form? This would not be very much data, just simple documents and accounting data files.

Secondly, he wants to have a "snapshot" of his HD to a USB portable drive (standard 2.5 HD). On Linux, I'd recommend Rsync, on Mac, Rsync or SuperDuper (and others), but on Windows, any recommendations? I see Unison, etc. I would just want it to update any files that have changed to make subsequent backups run much faster, such as only 15-18 minutes (depending on amount of data changed) and make the drive bootable, so in the event he looses his HD in his laptop, he could boot from the USB portable drive and be back up and running.

While I know I could easily figure out all this on a more manual basis, looking for things that would be friendly for Joe User to use and/or be something that can be setup and would run pretty much on it's own, assuming the backup drive was connected or system was on the Internet to upload the files, etc.

View 1 Replies View Related

Installing Opens SSL And Libssh2 To Allow Sftp

Oct 5, 2007

I'm not that confident with installing or compiling on Linux and I guess that's where the problem is. So any assistance may go along way.

Basically I am running a AMD64 on a Fedora Core server. I noticed when I wrote a php script which I want to sftp some data to another server I was getting a message saying that :

Quote:

Call to undefined function ssh2_connect()

I thought this was a bit strange as I usually have had this feature running without a problem on other machines... Anyway after investigating the problem it looked as though I needed to add a couple of extensions 'OpenSSL' and 'libssh2' as specified on this page :[url].

I downloaded them and OpenSSL appeared to install. However when trying to install libssh2 I received the following:

Quote:

/usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(md5_dgst.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value

Obviously I can't continue onward until I get this problem fixed, but have been searching around for near 7 hours now and seem to be chasing my tail? Can anyone point on what I am doing wrong?

BTW within the libssh2-0.17 dir I am first running ./config then make then make install.

View 0 Replies View Related

Plesk 11.x / Linux :: SSH Or SFTP - How To Enable

Oct 21, 2014

FTP is a very old transfer technology with a lot of security problem.

Why don't enable directly SSH or SFTP on Plesk by default or by a simple way?

It's very difficult to enable it now

I'm loosing a lot of time to find how to enable it on plesk 12 and still not undestanding why do not work.

View 3 Replies View Related

Plesk 12.x / Linux :: Deny User Upload File Via File Manager Or Hidden File Tab?

Feb 10, 2015

I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...

View 2 Replies View Related

How Important Is A Secure Transfer Protocol (SSH/SFTP)?

Jul 25, 2008

I'm looking for a relatively cheap shared host, but I'm having trouble finding one with SSH/SFTP transfers. Everyone has FTP, but my concern is that FTP itself is not secure. I was reminded of this recently: http://www.43folders.com/2008/07/14/dump-ftp. Wikipedia documents this as well: http://en.wikipedia.org/wiki/Ftp#Security_problems. So with FTP, my passwords would be transmitted in the clear. (If I'm wrong, please correct me!)

I've been looking at Godaddy or 1&1*. 1&1 has a plan with SSH access that's about twice the cost of the plan I'm looking at. I'm not sure it's worth double the cost.

I'm to the point where I think I've overthought the variety of hosts, but in my estimation it's an important feature. Does anyone (dis)agree that it's important? Any other ideas of hosts?

*I was looking seriously at Bluehost also until I read some of their recent shenanigans here; thanks to everyone here for discussing their problems!

Also, to avoid the inevitable question of what I'm looking for in a host:
100 GB of space
1000 GB of bandwidth/month
Linux-based server
Apache server
10 MySQL databases
PHP (preferably 5)
Python support
Some sort of control panel interface
Good support reputation, preferably ticket-based and with chat support
Automated or easy Wordpress installation would certainly be nice.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved