Thanks a lot Dan.
I did sftp onto cr.opensolaris.org and did chmod on the files. Now, I am
able to view the files.
Thanks
Spoorthy
Dan Price wrote:
On Mon 16 Mar 2009 at 11:11AM, Spoorthy H.S wrote:
Hi All,
I've an account at cr.opensolaris.org/~spoorthy. I need to send the
modified changes for code review. So, I'm trying to do scp to
cr.opensolaris.org machine with the command as below ....
scp -r webrev [1][email protected]:conma
The files are getting copied there. But, when I open at
cr.opensolaris.org/~spoorthy/conma, it says, /*"You don't have permission
to access /~spoorthy/conma/index.html on this server."
If anybody is having an idea of why this is coming, please help me. Its
very urgent. I'm not in the alias. Please mail me directly.
I believe it is because you've uploaded the files with a very
restrictive set of permissions:
drwx--x--x 5 spoorthy users 14 Mar 12 04:02 conma
drwx--x--x 4 spoorthy users 13 Mar 15 23:48 conma1
drwx--x--x 4 spoorthy users 13 Mar 16 00:03 conma111
drwx--x--x 5 spoorthy users 14 Feb 18 21:30 conman
drwx--x--x 5 spoorthy users 14 Mar 12 03:47 conman1
drwx--x--x 4 spoorthy users 13 Mar 12 04:02 conman10
drwxr-xr-x 5 spoorthy users 14 Mar 12 03:12 conman2
drwx--x--x 4 spoorthy users 13 Mar 16 00:47 conman22
drwx--x--x 5 spoorthy users 14 Mar 12 03:17 conman3
I would suggest manually chmod'ing a+rx the files before uploading
them. I've not previously seen this happen. I wonder what
the file permissions look like for you locally?
You can also use the 'sftp' command to connect to cr.opensolaris.org.
It has 'ls -l', and 'chmod', although it sadly lacks 'chmod -R'
so you are probably better off re-uploading.
-dp
_______________________________________________
website-discuss mailing list
[email protected]