Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: jfarschman on March 02, 2006, 04:10:21 PM
-
Hi,
Just tried to ftp into the primary ibay as admin and I can READ, but not WRITE. I checked the permissions and it's looks like this:
drwxr-xr-x 2 root root 4096 Jan 26 12:39 cgi-bin
drwxr-xr-x 3 root root 4096 Feb 14 12:19 files
drwxr-xr-x 4 root root 4096 Feb 3 08:33 html
So no writing unless you are root. I checked my test system and it has correct settings:
drwxr-s--- 2 admin shared 4096 Jan 10 11:09 cgi-bin
drwxr-s--- 2 admin shared 4096 Jan 10 11:09 files
drwxr-s--- 2 admin shared 4096 Jan 10 11:09 html
So how do I fix this? How do I set the s special permission for the group? I get the first part
cd /home/e-smith/files/ibays/Primary
chown admin:shared -R *
But I don't know how to chmod and get an s to appear?
note: edited to fix formatting.
-
Sorry,
I got it on my own. The complete fix is:
cd /home/e-smith/files/ibays/Primary
chown admin:shared -R *
chmod 2750 -R *
Not sure what happened to cause this though.
-
So how do I fix this?
You report it via the Bug Tracker.
-
jfarschman -FYI -don't be suprised if it comes back. you should probably move to an sftp connection with winscp (public / private key) rather than just plain ftp. Not only is it more secure but it doesn't seem to suffer from this.
of course, you already know winscp
BTW -nice site.
-
jfarschman -FYI -don't be suprised if it comes back. you should probably move to an sftp connection with winscp (public / private key) rather than just plain ftp. Not only is it more secure but it doesn't seem to suffer from this.
Why would it come back? And in particular, why would it come back from using ftp? If logging in via ftp changes permissions then there is a serious problem to be fixed. Since you appear to have information about this issue, please follow up Jay's report in the bug tracker. Thanks.