File & Folder Permission and Ownership permission error in Cloud storage.
I have configured a cloud storage in existing centos server ......
I have the fstab entry as ..
//503037.cloud.storage.gogrid.com/503037 /mnt/cloudstorage cifs file_mode=0666,dir_mode=0777,uid=apache,gid=apache,userid=908978,passwd=ertbghshsa;
then i have given the mount command to check the mount point its ok ..no error..
While moving the datas to the storage...using the command...
# scp -rp --preserve stgkb_1406.tgz /mnt/cloudstorage
its gives error...
cp: failed to preserve ownership for `/mnt/cloudstorage/stgkb_1406.tgz': Permission denied
even after moving the data ownership and file $ folders permission is different ...like this..
-rw------- 1 10812 bin 5.8G Jun 14 10:30 stgkb-2013.tgz
please help me how to move the data with the ownership and file or folder permission as it is...