Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
File Permission depends on File extension
cc96ai
Can we set the file permission depends on the file extension ?
e.g.
.html = 0755
.php = 0644
Can we set multi- permissionRules
the destination environement in Linux.
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
Find more posts tagged with
Comments
Adam Stoller
Have you bothered to read the documentation regarding the submit.cfg file?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
cc96ai
i think its only dealing with opendeploy
coz, my teamsite server is in WIN2K3
live server is sitting on linux box
the attached file is the od file
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
cc96ai
Just updated.
it is working fine now.
only submitted into wrong place ,
and the permission is working fine.
but I still have to create 2 definition,
Do anyone know to use 1 defeintion which can do the same process ?
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
Adam Stoller
My appologies - I didn't look at which forum I was reading and though you were asking about TS not OD.
There are a number of ways you might be able to accomplish this, but they all involve some coding / configuring.
Perhaps you can post your existing configuration file to be used as a reference point for suggestions.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
cc96ai
the attached file is the od configuration
--------------------------------------------
TS 6.1 W2K3
OpenDeploy 6.0
CC Pro/Std
Adam Stoller
Looks like you pretty much have it done - either using separate definitions or separate pathSpecification elements with explicit inclusions for the different file types so that you can set explicit file permissions.
By the way - you original post said you wanted 755 for html files - your config file shows 744 - but neither really makes sense for deployed html files - which should generally be either 644 or 444 (since nobody should be writing the files on the production server anyway - right)
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com