Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Third Party Data
-
Labels:None
-
Environment:
Bid Manager Build: tsa-build-bidmgr-2010-10-22-p49-r27756.tgz
Service build : svc-channelv2.0-p475-r27756.ear
Admax UI : AdMax-Extended-Unified-Datafeed-p7-r27749.tar
Description
As uploaded file doesn't have write permission, /publishers-filepull.sh can't remove the datafeeds.
1. on client-st
cd /var/local/share/tsa/svc/publishers/
mv 17 17.bak
2.Login to Admax and upload the third party feed for Facebook with account-CSV
3.Check the path /var/local/share/tsa/svc/publishers/, 17/177/<uploadedfile.csv> has been created.
4.tvvm-staging-ccc:/var/local/share/tsa/svc/publishers/17/177# ls -lrt
total 4
rw-rr- 1 www-data www-data 419 2010-10-25 00:04 17_177_20101004.zip
5.Now go to the staging-xml1 putty and run the sudo -i /opt/publishers-filepull.sh
KeyChain 2.6.6; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
- Found existing ssh-agent (4787)
- Known ssh key: /root/.ssh/id_rsa_new_filepush
- n
receiving file list ... done
publishers/17.1.bak/
publishers/17.1.bak/177/
publishers/17.1.bak/180/
publishers/17.1.bak/188/
publishers/17/177/17_177_20101004.zip
rsync: sender failed to remove publishers/17/177/17_177_20101004.zip: Permission denied (13)
sent 72 bytes received 823 bytes 1790.00 bytes/sec
total size is 419 speedup is 0.47
rsync error: some files could not be transferred (code 23) at main.c(1385) [generator=2.6.9]
Expected Result:
While creating the folder structure /var/local/share/tsa/svc/publishers/<accountId>/<distributionId>/, the files inside this folder should have WRITE permission.