Hi there,
Ok i am a slight step further i think. You telling me...SFTP is the vane of my life at the moment as it just won't do what i want to do. I tried making all directories owned by root e.g. /var /var/www /var/www/html and /var/www/html/testyourwebsitenow and i think tried having /var/www/html/ owned by root and /testyourwebsitenow owned by tester which should work in the same way as you said right? I have got a stage further but still cannot access the testyourwebsitenow directory from SFTP with tester I also read that the root has to be in the tester group too? It's just really confusing as different things i read on the net tell me different stories due to SFTP being so funny. Here is what i currently have now: Code:
[root@a000066 var]# ls -ld /var/www Password file noq shows this for tester: tester:x:500:500:Web Tester:/var/www/html/testyourwebsitenow:/sbin/nologin I then did a chmod -R 755 /var/www/html/testyourwebsitenow/ (the tester user owns this folder as shown above) Still cannot access the folder. Any more hints? |
SFTP can be the vane of your life. Or it can be the love of your life too. :)
In my opinion, it is never a good idea to assign $HOME to any subdirs under /var or any system dirs for that matter. That is what /home for. Back to your issue. So your $HOME is assigned to /var/www/html/testyourwebsitenow. Quote:
Quote:
Last words: - don't assign root to any group haphazardly. - I was wondering what all those SGID bits for? - logs. Check them. Read them. |
All times are GMT -5. The time now is 04:07 AM. |