or Create a profile
How Do I... →
08 May, 2012 05:33 PM
Our current SFTP transport uses a "cascade" user and the default
We've recently launched a new school-wide calendar, and are
starting to implement PHP widgets using the API. We'd like PHP to
have write-access to the folders generated by Cascade, so it can
create cached calendar data. I've added the PHP run-as user
"www-data" to the "cascade" group.
But with the current permissions, files are published with 644
and folders with 755. From what I understand, I can change the
umask for the cascade user to "002" if I'd like this behavior to
change to 664/775.
I'm a little hesitant to change these default permissions,
because it seems like a potential security concern.
I briefly looked into a way to set up a transport with the
"www-data" user instead of cascade, but quickly realized setting a
password for www-data is a major security issue (if it's even
Do you have any other ideas on how to approach this?
2 Posted by mstevens on 24 May, 2012 03:01 PM
We found an alternate solution that doesn't require PHP to have
write access to multiple folders. We're storing all calendar cache
in a specific folder so we can set the permissions on that folder
mstevens closed this discussion
on 24 May, 2012 03:02 PM.
Comments are currently closed for this discussion.
You can start a new one.
1 person watching.
No more actions from Cascade Server or the discussion starter are required.
This discussion is private.
Only you and Cascade Server support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.