How to update a file, say "cv.pdf", referred to from your staff profile page.
I have a Mac laptop, and I have had trouble updating my CV, which is linked to from my profile page at VUW.
There are two challenges: get the file into my public_html page, and how to reset the permissions so anyone can read it.
Get the file into public_html:
If I'm at home, I first use Cisco Anyconnect to set up a VPN to Vic Uni.
Then from my Mac Finder, I use Go - Connect to server... and (the first time) set up an smb connection by entering
smb://miro.ecs.vuw.ac.nz/myusername
where myusername is your School login name, not your Vic Uni username.
Then my home at SMS shows up in my Finder on my laptop, and I can see my public_html folder where my cv.pdf file is. This is what is pointed to in my profile page. I then replace it with an updated file by using the usual options in Mac finder (drag and drop, or copy and paste).
Change the permissions on my CV:
I cannot change permissions through the smb interface you just set up. Instead, I start Terminal on my Mac and I enter the command
ssh debretts.ecs.vuw.ac.nz
which prompts me for my usual (ECS/SMS) login password (not my official VUW one). Then I can check where I am and what files are in my current directory with
ls
The resulting list includes public_html . I go there with
cd public_html
and then
ls -l cv*
for example shows me all files starting with the letters cv, and the permissions on them. I see in the response:
-rwxr----- 1 markm msor 136511 Jul 13 13:35 cv.pdf
which means that only I have any access to cv.pdf. I change this so that everyone has read access to it by typing
chmod a+r cv.pdf
I check the success with
ls -l cv.pdf
and the result is
-rwxr--r-- 1 markm msor 136511 Jul 13 13:35 cv.pdf
with the extra r's indicating success - everyone can read it.