You are not logged in.
I have a website on a small vps, and created a screeshot directory wtihing to share the screenshots from my local laptop. The issue I am having is premissions so when the scp inserts the file the image have the right permissions. I used a sticky bit so that the group of the folder i consistent with the world readable group on www-data.
However my permissions are very restricted, at rw-------
I wonder what to do if it needs another sitcky bit or a umask so that the files are at least world readable.
here is my current state:
drwxr-sr-x 2 user www-data 4096 Aug 13 06:35 shots
$ cd shots/
-rw------- 1 user www-data 18204 Aug 13 06:35 Spectacle.NA9809.png
Offline
If -p isn’t doing what you want, just use chmod afterwards.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline