Access Denied on creating symbolic links

Asked by Stephen Weber

I installed Ubuntu on a stand alone PC and the only operating system. This is a non production unit for testing. I am very new to UBUNTU and was assigned this task by my supervisor. I am attempting to create symbolic links to script files and keep receiving access denied messages. I have experience this access denied while making other configuration changes. I check my user settings and I am setup as an administrator.

Thanks
Steve

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Weber (i1fo) said :
#1

I found the "Sudo -I" command which appears to put me in an elevated security state. after running this command I notice my prompt changes from $ to # and now the configuration commands work. Is this the right way to go about this?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What command are you running and what is the pwd when you run it. What are the file systems you are linking from and to?

Thanks

Revision history for this message
samuel (samuel-h) said :
#3

Access is denied means you don't have read/write privalges to the directories you are creating the links in. sudo -I is indeed one way to do things, or you can add sudo to the beggining of each individual command. EG: sudo ln -ls /test.sh /dir/test-link.sh

Can you help with this problem?

Provide an answer of your own, or ask Stephen Weber for more information if necessary.

To post a message you must log in.