Re: crazy file permission question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I wrote a perl wrapper that allows for the umask to be set per user/group.
 The perl code eventually calls /usr/libexec/openssh/sftp-server.  The
perl code is called from /etc/ssh/sshd_config in the "Subsystem" section.

Scott
-- 
http://photo-gallery.gemneye.org:1115/Gallery2/

This is what you said Wayne Pinette
> Ok, so due to reasons that are kind of annoying, but none the less
> legitimate enough for me to post the question, I have a redhat server
> here in which all newly created files need to have the file permissions
> rwxr-xr-x  (755).  These files are created when the clients sftp them to
> the their specific directories.
> The problem of course is set umask subtracts from the default mask and
> the default umask for text files is 666 not 777.  Unfortunately I need
> ALL files to be 755, so the question is, how can I change the default
> mask to be 777 for all files so set umask works?
>
>
> Wayner
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux