|
From: | Gavin Rogers |
Subject: | [Jailkit-users] Re: Default file permissions |
Date: | Thu, 19 Jul 2007 20:35:31 -0500 |
Hey guys,
We're testing jailkit out here and I have one major problem in deployment on our test server (CentOS):
When I sftp into the server:
sftp> mkdir test
sftp> ls -al
drwx------ 3 testuser2 testuser2 4096 Jul 20 01:16 .
drwxr-xr-x 4 root root 4096 Jul 20 01:12 ..
-rw-r--r-- 1 testuser2 testuser2 304 Jul 20 01:12 .bash_logout
-rw-r--r-- 1 testuser2 testuser2 191 Jul 20 01:12 .bash_profile
-rw-r--r-- 1 testuser2 testuser2 124 Jul 20 01:12 .bashrc
drwxrwxrwx 2 testuser2 testuser2 4096 Jul 20 01:16 test
We can't have the default permissions on newly create folders being 777. Is this a problem with the jail? Or with sftp-server? I've been looking around but it really seems like this problem is limited to the jail that I have created.
How can I change this configuration?
Thank you,
gavin
--
http://vk6hgr.echidna.id.au/~gavin8or/
Gavin Rogers, full time problem solver.
[Prev in Thread] | Current Thread | [Next in Thread] |