Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Setting a file private.
holmes
I am trying to set some files private through a script. the command I use is : $iwhome\\bin\\iwprv -s "."$filepath";
this command is not able to set the file Private. However if a file is private, the command
$iwhome\\bin\\iwprv -g "."$filepath"; is able to get the correct status. Can anyone tell me where I am going wrong in setting the private bit???
Find more posts tagged with
Comments
sunil_j
Hi,
Once you are stetting the file Private, how are you veryfying that the file is not private?
Regards
Sunil
TeamSite Consultant
holmes
The Private symbol does not appear in front of it.
sunil_j
Hi,
Just reset your teamsite services using "iwreset -a" and then you should be able to the see the file to be a private file.
I hope it helps.
Regards
Sunil
TeamSite Consultant
Adam Stoller
After setting the file private - did you do a Refresh in the GUI?
Are you working in WebDesk or WebDeskPro?
For that matter, what version of TeamSite are you on?
(I'm assuming that the missing open-double-quotes in your two examples of running iwprv is just in the post)
--fish
(Interwoven Senior Technical Consultant)
Michael
Here is a "wild stab in the dark" that might be helpful.
Have you ruled out a permissions problem?
It may be that the user the script is run as has read, but not write access on that path? Hence being able to check the private status, but not set it.
Do you check if the command results in an error message?
holmes
Thanks! It was just a refresh problem. It was setting the fiile to private.