Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permission error uploading files to Linux VM Pro 2

Status
Not open for further replies.

MBATech173

Technical User
Dec 12, 2008
169
US
I'm trying to upload wav files into a Linux style VM Pro using WinSCP or Filezilla . Before I tried it, I used a putty session and unlocked all of the restrictions at the root login level. However, whenever I attempt to upload a file, I receive a "permission denied" error. I'm using the Administrator login for the WinSCP and I can pull files off of the Linux just fine. I just can't see what I'm missing. HELP !!


mbatech
 
Administrator doesn't have write rights in the folder.

What did you do when you "unlocked all of the restrictions"?

"Trying is the first step to failure..." - Homer
 
Using a putty session, I logged in as 'Administrator', then as 'admin' and finally as 'root'. Typed in the command 'chmod 777 /opt/vmpro/Wavs' . This is what I was shown to open the Linux permissions.



mbatech
 
You should execute the following command : find /opt/vmpro/Wavs -type d -exec chmod 755 {} \;
It will change the permissions on all files and subdirectories within the given path.
Applying "777" is stupid because you give a .wav file the right to be executed which cannot.
 
TouchToneTommy, I'm not sure what you're trying to say. If that's the path you're giving me then I can already get there. I just can't upload to that folder.



mbatech
 
intrigrant, thanks a TON ! That command line worked perfectly !! Is there a guide that has those commands that I could have ? It would be handy to have.


mbatech
 
Usually you only have to upload files into the CustomPrompts folder. Administrator has right to upload files to that folder.
 
They are basic Linux commands, but if you need a guide to find the commands maybe you shouldn't mess around in the shell of a customers pbx.
Most of the times there's no reason to be there.

"Trying is the first step to failure..." - Homer
 
MBA, if you type the command I gave you, it will give Administrator permission to upload files to the opt/vmpro folder.

Login as Administrator, then admin, then root, then issue the command.
 
I always copy the files (wav files in this case) to the Administrator folder.
Then i use putty to move the files to the correct folder.


BAZINGA!

I'm not insane, my mother had me tested!
 
I copy them on a USB stick and use putty to copy the files, last time the USB was a Win7 bootable and I forgot to remove it.
Now we have a UCM on Win7.... cool.
 
Login to the WebManagement :)7070) and go to: "Applications" -> "File Manager".
Select on left site the "VMProCustomPrompts" Folder. Click to "+" Sympol, upload the wav.
Now you can work with the uploaded waves with VMpro Client. Location is: /opt/ipoffice/VMProCustomPrompts

Obviously it is of eminent relevance, that I this, what you celeprate, not optimally effective assume, since the integrate of you in the communicative system as code related terms with me no explosive associations in mental-empirical reproduction process of the mind.
 
last time the USB was a Win7 bootable and I forgot to remove it.
Now we have a UCM on Win7.... cool.

You're lucky,
I Know someone who borrowed a customers USB stick to upgrade & UCM & forgot to remove the atuocreate file before giving it back ...


Do things on the cheap & it will cost you dear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top