0
votes
0answers
9 views

ubuntu 12.04 - sftp umask with usergroups_enab [duplicate]

In /etc/login.defs I have UMASK 022 and USERGROUPS_ENAB yes This works as expected when logging in through ssh as a user in a single-user group (eg, admin:admin). I end up with 0002 as the umask. ...
0
votes
0answers
74 views

Creating SFTP Users chrootdirectory /var/www

I am trying to create a new sftp user in Ubuntu 12.04.4 and am running into some trouble. After creating the first sftp user, I document the commands for later user and then delete the user and try ...
1
vote
1answer
302 views

sftp gives permission denied only when chrooted?

I have configured sshd_conf on my centos box as below: Match group pilots ChrootDirectory /home/pilots ForceCommand internal-sftp X11Forwarding no AllowTcpForwarding no and the directory ...
3
votes
1answer
290 views

SFTP user can't edit or create files

Server: Ubuntu 12.04 LTS I am using openSSH and have created an SFTP user called bob who belongs to group sftponly. I have chrooted bob to his home directory which is /usr/share/nginx/www/bob/. bob ...
2
votes
1answer
271 views

Set default permissions for files created through FTP & SFTP on Mac OS X

I have 2 users on my Mac OS X Server, both in the group 'wheel'. If User A creates a file through SFTP/FTP, User B can read the file, but not write to it, since the default file permission is 644, ...
0
votes
1answer
156 views

Cron job with shell script to repair SFTP directory and file ownership

Our SFTP share is set in: /home/COMMUNITY Each workgroup has its own directory, for example: /home/COMMUNITY/Halloween This directory has multiple directories under it. There is one group that ...
1
vote
0answers
228 views

FTP and Apache permission issues … And sftp, and ssh, and php scripts

I've read the previous posts but I'm still looking for a good way to manage directories permissions and users. Here's the layout : You have a php app whose code is provided by 3rd party. Dirty ...
1
vote
1answer
890 views

Managing Linux Directory Permissions & SFTP

Good morning; I have a RHEL 5.7 web server configured to allow SSH/SFTP only by specific groups. I'd like for content managers to upload content to their respective directories and have that content ...
0
votes
1answer
2k views

Force SFTP/SCP to copy files with a remote directory's permission

I am having a problem with SFTP and SCP where files that are copied are not inheriting the permissions of the remote parent directory. I have seen similar questions on serverfault where the umask of ...
0
votes
2answers
190 views

How long does it take to modify the permissions of /home/?

So I am using Transmit.app for my SFTP client and I changed permissions in /home/ and pressed the "Apply to Enclosed..." option as well. So essentially it is applying the desired permission to every ...
1
vote
1answer
253 views

Ubuntu sftp default save permissions issue

I have a server running Ubuntu 8.04 LTS with sftp running on it. My problem is that when I access the server with sftp (using the username of one of my admin accounts, not 'root') and upload a file ...
3
votes
3answers
5k views

Best way to restrict FTP access to a single directory?

I have a VPS running Ubuntu 10.04, and I'd like to give someone SFTP access to a single directory, but prevent them from seeing anything else on the system. What's the best way to pull this off? I ...
10
votes
4answers
8k views

How to get full control of umask/PAM/permissions?

// Updated Feb 8 - Outstanding issues in brief: How to umask directories differently from files? How to umask on Nautilus copy/paste? How to set umask for SSHFS? OUR SITUATION Several people from ...
2
votes
1answer
516 views

Ubuntu: Share/link files uploaded by different sftp users

I have a server that multiple users access via sftp. They do not have ssh access and they are contained to their home directory by setting the ChrootDirectory /home/%u in the /etc/ssh/sshd_config ...
8
votes
2answers
8k views

How do I set default permissions for SFTP for an Ubuntu Server?

We have an Ubuntu 10.04 server. How can I set it so that new files created (or copied) over SFTP or SSH have g+rw and g+rwx permissions (where appropriate)? I'm also using setgid (chmod g+s) so that ...
2
votes
1answer
4k views

CopSSH SFTP — limit users access to their home directory only

Let me preface this by saying I've read and followed these instructions at the FAQ many times: http://www.itefix.no/i2/node/37 It does not do what the title claims... It allows every user access to ...
1
vote
2answers
4k views

Configuration for FTP Site in IIS 7.5

I have setup an FTP site in IIS 7.5 with SSL using a self-signed certificate. I can login and view my view my virtual directories, which are all setup as UNC paths. The problem is that I cannot write ...
1
vote
3answers
1k views

CentOS Default ACLs on Existing File System Objects

Is there a way to have existing file system objects inherit newly set default ACL settings of their parent directories? The reason I need to do this is that I have an user who connect via SFTP to my ...
4
votes
3answers
7k views

Proper setup of user permissions for OpenSSH on Windows?

I am trying to setup OpenSSH on Windows to provide SFTP sites. I am running into some problems with user security settings. Here are the basic steps I've gone through to create a user: Create a ...
0
votes
2answers
342 views

Are server side ssh keys secure?

I am attempting to allow a wordpress installation to install plugins. I am not quite sure how to securely set the permissions of my wordpress installation. I think chown -R www-data on the entire ...