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 Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application Server Access Rights/Permissions 2

Status
Not open for further replies.

JonasJiang

IS-IT--Management
Apr 30, 2013
7
DK
I will try to make it as brief and specific as possible.

I need to copy files to the Application servers Wavs folder, but I lack the permission.
I am using SSH on Filezilla and WinSCP.

If I try to write in the folder I get "Error: /opt/vmpro/Wavs/test: open for write: permission denied"
I can also not change the permissions using Filezilla.
I can transfer files to /opt/vmpro/Wavs/Custom, because it has write permissions for all, but I need it in the Wavs folder.

I found a thread with the same issue, but I can't find the solution in the posts.
I have tried everything there is in the thread and the closest I got was following mititelu's advice using Putty, but maybe the commands has changed or I am inputting the wrong, because I end up getting errors.

Does anyone know how you can make your self able to transfer files to the Wavs folder?

Hope someone out there knows how to go about this.
Thank you
 
go to the folder and change the permissions.
cli is the easiest if you know it.
type chmod 777 (full permissions) or from winscp right click on the folder (need to be root i think)


BAZINGA!

I'm not insane, my mother had me tested!

 
Thanks tlpeter, but as I mention I can not change the permissions in filezilla.
It't the same for winscp.

Message from WinSCP:
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 9

What is cli?
 
tlpeter: I got into the cli, and I am at root level, if I type chmod 777 I get this:#

chmod 777
chmod: missing operand after `777'


Then I promt for the help:

chmod --help
Usage: chmod [OPTION]... MODE[,MODE]... FILE...
or: chmod [OPTION]... OCTAL-MODE FILE...
or: chmod [OPTION]... --reference=RFILE FILE...
Change the mode of each FILE to MODE.

-c, --changes like verbose but report only when a change is made
--no-preserve-root do not treat `/' specially (the default)
--preserve-root fail to operate recursively on `/'
-f, --silent, --quiet suppress most error messages
-v, --verbose output a diagnostic for every file processed
--reference=RFILE use RFILE's mode instead of MODE values
-R, --recursive change files and directories recursively
--help display this help and exit
--version output version information and exit

Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.


How should I write the code?
 
I have created a share following Mitielu's post in the other thread:

putty into machine
- enter "admin" - pass Administrator
- enter "Configure" - pass Configure
- enter "sharing"
- enable server: "enable"
- enter: "create share vmpro /opt/vmpro/Wavs"
follow instruction :)

Now you have a windows share that you can access from the network.

How can I access the folder after this?
 
When you type chmod 777 then you need to add /foldername after it
Change foldername for the name of the folder you want to change.
But you can only do this when you are root.
So login with root (cli or ssh shell) and change the permissions.


BAZINGA!

I'm not insane, my mother had me tested!

 
tlpeter, thanks for the reply.

Do you know of any guides that shows how to code would look, when you change permissions?
I can log in to root using cli, but from there I'm kind of lost.
 
You need to go to the folder /opt/vmpro
Then change permissions on the folder you want to.
If you need to see the folders then type dir or ls.


BAZINGA!

I'm not insane, my mother had me tested!

 
I did it! (I think:))

I logged in as Administrator, then to Admin control, then root, then I used the code chmod -R 777 /mydirectorie

I can see the folders have all write access now in Filezilla.
I will try to upload my files later.

Thank you so much for the help :)
 
You are welcome.


BAZINGA!

I'm not insane, my mother had me tested!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top